reverse proxy, proxyrequests off, remote proxy request returns local root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux