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 .example.com
</Proxy>

        ProxyVia On
</IfModule>
# Depends: proxy
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so

I'm using ProxyPass and ProxyPassReverse to do some reverse proxying. It all works fine but when scanners try to do a GET http://some.remote.com/ 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 function?

Reply via email to