Apache 2 ErrorDocument ProxyPass ajp

Apache 2 ErrorDocument ProxyPass ajp

am 14.06.2007 19:47:47 von ekong.tse

Hi,

I am trying to get the custom error page to show up but I am having
problem getting that to work. I use a number of ProxyPass
statements. Here is the code:


DocumentRoot /var/www/sites/mysite
ServerName mysite.ca

ProxyPass /static/ !
ErrorDocument 404 /static/error.html
ProxyErrorOverride On

ProxyPass /cigl/ ajp://:8009/test/ retry=5
ProxyPass / ajp://:8009/test/


The problem is, when I tried to access a non-existent page e.g.
none.html, it is trying to look for it at http://mysite.ca/test/none.html
but it won't try to display the error page at http://mysite.ca/static/error.html.
I'm just wondering if anyone has experienced that can help with it.

Thanks!
E'Kong