Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

219
Views
Call to a DataSnap Apache modules fails

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.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Thank you Olivier. Problem solved. Path should be:
http://localhost/webbroker/datasnap/rest/TServerMethods1/%22ReverseString%22

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!