[users@httpd] mod_rewrite question

2012-03-30 Thread Bobb, Kirth Andre (US - Arlington)
I’m attempting to replace all the spaces with ‘%20’ when URLs are passed via a proxy. I have the following Rewrite Rule added to my httpd.conf on the Apache 2 Proxy server I’m running. RewriteEngine on RewriteLogLevel 5 RewriteLog logs/rewrite_logs.log RewriteRule ^/(.+)\ (.+)$ /$1\%20$2 [R, NE

[users@httpd] mod_remoteip: Hiding in plain sight

2012-03-30 Thread Igor Galić
Hi folks, I'm using wrowe's backported version of mod_remoteip[1][2] to for httpd 2.2, while hiding behind an Apache Traffic Server. My configuration is basically this: # we're behind a proxy, but no one needs to know: RemoteIPHeader X-Forwarded-For RemoteIPTrustedProxy 127.0.0.1/8 176.9.5

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,

Re: [users@httpd] mod_proxy: ProxyPreserveHost omits start of proxied path

2012-03-30 Thread Tom Evans
On Fri, Mar 30, 2012 at 11:14 AM, Bruno Tréguier wrote: > Ron, > > Would it be possible for you to do new captures of the network traffic, but > in "pcap" format ? That way we could use tools like wireshark to analyse the > traces, instead of the ascii dump you provided, whih (in my opinion) is >

Re: [users@httpd] mod_proxy: ProxyPreserveHost omits start of proxied path

2012-03-30 Thread Bruno Tréguier
Le 30/03/2012 12:05, ron.vandenbranden@home a écrit : Hi, On 30/03/2012 11:01, Igor Cicimov wrote: Have you actually read the mod_proxy documentation or you are just working with some example you found somewhere? If you read it you will find that you can use ! in the ProxyPass to exclude a p

Re: [users@httpd] mod_proxy: ProxyPreserveHost omits start of proxied path

2012-03-30 Thread ron.vandenbranden@home
Hi, On 30/03/2012 11:01, Igor Cicimov wrote: Have you actually read the mod_proxy documentation or you are just working with some example you found somewhere? If you read it you will find that you can use ! in the ProxyPass to exclude a path from the proxy. Of course I have, but I don't t

Re: [users@httpd] mod_proxy: ProxyPreserveHost omits start of proxied path

2012-03-30 Thread Igor Cicimov
Have you actually read the mod_proxy documentation or you are just working with some example you found somewhere? If you read it you will find that you can use ! in the ProxyPass to exclude a path from the proxy. On Mar 29, 2012 11:39 PM, "Ron Van den Branden" wrote: > Hi, > > I am setting up a