httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Lenz <>
Subject [users@httpd] reverse proxy, proxyrequests off, remote proxy request returns local root
Date Thu, 12 Jan 2012 15:13:46 GMT
Debian 5.x setup

|**|mods-enabled# cat proxy*
<IfModule mod_proxy.c>
         ProxyRequests Off

<Proxy *>
                 AddDefaultCharset off
                 Order deny,allow
                 Deny from all
                 #Allow from

         ProxyVia On
# Depends: proxy
LoadModule proxy_http_module /usr/lib/apache2/modules/
LoadModule proxy_module /usr/lib/apache2/modules/

I'm using ProxyPass and ProxyPassReverse to do some reverse proxying.  
It all works fine but when scanners try to do a GET rather than just 503ing it 200s the local 
default root.  It's not really a big deal but it is annoying.

One suggestion on IRC was to set the default server to an invalid root 
but then straight IP/port requests would fail I'm guessing and muck with 
our tcp based load balancing.

Any way to make it 503 url requests but still allow the proxypass* to 

View raw message