I'm running Apache 2.0.40 on RHEL 9.0, IP address 10.10.10.20. Another
web server, 10.10.10.10, hosts example.com. The reverse-proxy box at
..20 is using mod_proxy with the following in httpd.conf:
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyVia Off
</IfModule>
<VirtualHost *>
ServerName example.com
ServerAlias
www.example.com
ProxyPass /
http://www.example.com
ProxyPassReverse /
http://www.example.com
</VirtualHost>
HTTP/1.1 GET / for example.com serves up the default document as
expected. However, the default document uses a style sheet
(/style/apr04.css) which must then be requested by the client.
When the client sends a GET /style/apr04.css, I see in an Ethereal
packet capture that the proxy server does a DNS lookup for
"example.comstyle". Any other request to something below the root
level, such as
http://example.com/foo/bar.html, creates a DNS lookup for
"example.comfoo".
Has anyone seen this bizarre behavior before, and does anyone know how
to correct it?
Jordan