AW: [users@httpd] RequestHeader, SetEnvIf: Setting a missing RequestHeader

2012-03-30 Thread Rudolf Bargholz
Le 30/03/2012 14:16, Rudolf Bargholz a écrit : > Goal: to automatically set the SOAPAction if empty or missing. > > Here what I would expect to work, but does not. > > > > SetEnvIf SOAPAction ^h.*$ HAVE_SOAPAction > > RequestHeader set SOAPAction "http://127.0.0.1:5912"; > env=!HAVE_SOAPAction >

Re: [users@httpd] RequestHeader, SetEnvIf: Setting a missing RequestHeader

2012-03-30 Thread Bruno Tréguier
Le 30/03/2012 14:16, Rudolf Bargholz a écrit : Goal: to automatically set the SOAPAction if empty or missing. Here what I would expect to work, but does not. SetEnvIf SOAPAction ^h.*$ HAVE_SOAPAction RequestHeader set SOAPAction "http://127.0.0.1:5912"; env=!HAVE_SOAPAction What I am try

[users@httpd] RequestHeader, SetEnvIf: Setting a missing RequestHeader

2012-03-30 Thread Rudolf Bargholz
Hi, After googling and experimenting all morning, perhaps some kind soul would be willing to help. We have a web service that is routed through an Apache 2.2 on Windows. A correct SOAP Request would be POST http://myapache/cgi-bin/nph-owscgi.exe/olt_web/oltlogon HTTP/1.1 Accept-Encoding: gzip,