Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

220
Visualizações
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 Respostas
Responde à pergunta

0

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

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda