Proxypass problem

I have our main web server setup the following way in it’s httpd.conf file:

ProxyRequests On Order deny,allow Deny from all Allow from All ProxyVia Off CacheRoot "/usr/local/apache/proxy" CacheSize 25 ProxyVia Off CacheRoot "/usr/local/apache/proxy" CacheSize 25 CacheGcInterval 4 CacheMaxExpire 24 CacheLastModifiedFactor 0.1 CacheDefaultExpire 1 #NoCache *
ProxyPass /rt http://192.168.10.7/rt2
ProxyPassReverse /rt http:192.168.10.7/rt2

On our RT server I have apache’s httpd.conf file configured like this:

Alias /rt2 /rt2/WebRT/html/
PerlRequire /rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason
Allow from All

My problem is whenever I try to access RT I get a ‘page not found error’.

You can try it here: http://www.andrewpea.com/rt

I checked the apache log and found the following:

[Tue Mar 5 15:46:25 2002] [error] [client 63.255.228.33] File does not exist: /usr/local/apache/htdocs/rt2

The ProxyPass directive doesn’t seem to be working. Does anyone have any ideas about what I’ve done wrong here?

Thanks -
Bruce

Quoting Bruce Pea pea@andrewpea.com [Mar 05, 2002 17:24]:

I have our main web server setup the following way in it’s httpd.conf file:

[-- snip --]

You can try it here: http://www.andrewpea.com/rt

I checked the apache log and found the following:

[Tue Mar 5 15:46:25 2002] [error] [client 63.255.228.33] File does not exist: /usr/local/apache/htdocs/rt2

Is that in the error log for the proxy or the proxied server?

The ProxyPass directive doesn’t seem to be working. Does anyone
have any ideas about what I’ve done wrong here?

What does httpd -l tell you? Do you have mod_proxy installed?
If you do, I’d begin by making your 404 page (on both servers) a
server-parsed page, putting in them, and see if
you are seeing proxy-related environment variables.

(darren)

If only God would give me some clear sign! Like making a large
deposit in my name in a Swiss bank.
– Woody Allen