httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gare" <>
Subject [users@httpd] ErrorDocument 403 and so doe'nt redirect properly
Date Mon, 13 Dec 2004 16:49:04 GMT
My problem is that ErrorDocument doesn't redirect to the page I've configure in httpd.conf
if I don't use a absolute URL.
My Apache server manage several virtual hosts, I have error page 404 redirect to /error/404.htm.
That's in the main section of httpd.conf I wrote:
ErrorDocument 400 /error/400.htm
ErrorDocument 401 /error/401.htm
ErrorDocument 402 /error/402.htm
ErrorDocument 403 /error/403.htm
ErrorDocument 404 /error/404.htm
ErrorDocument 500 /error/500.htm

Error 404 (page not faound) works right, but 403 or 500 go to defaul pages. But if I put
ErrorDocument 403

then  page 403 is redirected to the correct page.

I've tried to write the ErrorDocument configuration sentences inside virtual host directive,
but the problem is the same. 
(Apache 1.3.3)

Any idea of where is my mistake?

View raw message