httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob De Langhe <>
Subject [users@httpd] problems with mod_perl_html module on reverse proxy
Date Tue, 04 May 2004 13:25:32 GMT

running with Apache 2.0.47 on Solaris-9, we try to achieve a reverse-proxy
setup that forwards connections to our externally reachable machine
"", towards an internal machine so-called

If a person connects to our reverse-proxy with the URL

then we want the reverse-proxy to forward this to the internal machine
"internal1" with the URL

This works fine, and relative paths in HTML from this internal machine is
correctly rewritten with the "" prefix, as
long as the CGI's on "internal1" do not produce HTML with some absolute
paths or redirects in it to -say- "/cgi-bin/somescript" :
this is apparently not captured by the reverse proxy, and arrives on the
browser as

which of course results in an 404 NOT FOUND on the reverse-proxy.

The config file contains the settings below:

LoadFile /usr/local/lib/
LoadModule proxy_html_module modules/
ProxyRequests off
SSLProxyEngine on
<Directory proxy:*>

ProxyPass /int1
ProxyPassReverse /int1
<Location /int1/>
   ProxyPassReverse /
   SetOutputFilter proxy-html
   ProxyHTMLURLMap / /int1/
   ProxyHTMLURLMap /int1 /int1

The error_log file contains messages like
[Tue May 04 12:25:29 2004] [error] [client] File does not exist:
/usr/local/apache2.proxy/htdocs/images, referer:

[Tue May 04 12:25:32 2004] [error] [client] File does not exist:

Any help will be greatly appreciated !!


Visit us at the Telecom cITy Fair - The largest IT Fair in Belgium!
25, 26, 27 May - Brussels Expo

Get your free tickets here!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message