After trying alot of thing, the following is what I ended up with.  It
allows all of the ENV REDIRECT_* variables to be accessed by the cgi script
and all in all did exactly what I wanted.

Because I didn't get a lot of help from either of my earlier postings, I
assummed that either others had not already done this. My ProxyError.cgi
returns a icely formated page with some useful info to the client.  The cgi
is on the Proxy server and it is the same for every virtual site.

<VirtualHost 130.123.128.10>
   ServerName planning.massey.ac.nz
   ServerAlias planning

   Alias /Error /usr/local/massey/www.support/wwwroot
   ErrorDocument 501 /Error/ProxyError.cgi
   ErrorDocument 502 /Error/ProxyError.cgi

   ProxyPass / http://pn-pc31.massey.ac.nz/
   ProxyPassReverse / http://pn-pc31.massey.ac.nz/
</VirtualHost>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Glen Eustace, Systems Engineer - Networking, Computing Services,
Massey University, Private Bag 11222, Palmerston North, N.Z.
Ph: +64 6 350 5161, Fax: +64 6 350 5607, Mobile +64 25 500 321
Pvt Ph: +64 6 356 2562

Reply via email to