I crated a Delphi standalone DataSnap WebBroker application and a loadable apache module named mod_webbroker.dll.
They share the same units.
The call to the stand alone DataSnap WebBroker succeeded but the call to the apache module failed with no response result.
This is the call to the stand alone exe:
URL: http://localhost:8080/datasnap/rest/TServerMethods1/%22ReverseString%22
Method: post
Content-Type: application /json
Custom body: 123
I tried calling the apache module in 2 ways. Both didn't get a respond:
http://localhost:8080/datasnap/rest/TServerMethods1/%22ReverseString%22
http://localhost:8080/webbroker_module/datasnap/rest/TServerMethods1/%22ReverseString%22
My httpd.conf changes:
Define SRVROOT "d:/Apache24_32"
LoadModule webbroker_module modules/mod_webbroker.dll
<Location /webbroker>
SetHandler mod_webbroker-handler
</Location>
ServerName localhost:80
Are there errors in the way I call the apache module method or in my httpd.conf changes?
I use Delphi 10.3 RIO and Apache 2.4 32 bit for Windows on a Windows 10 PC.
Thanks in advance.