Global ErrorDocuments doesn't work - why?

eSiK

Verified User
Joined
May 10, 2006
Messages
38
Location
Warsaw, Poland
I have created ErrorDocuments in seperate folder in my root directory /var/www/html/errors/. I have also put this code to my httpd.conf file:

ErrorDocument 400 /errors/400.shtml
ErrorDocument 401 /errors/401.shtml
ErrorDocument 403 /errors/403.shtml
ErrorDocument 404 /errors/404.shtml
ErrorDocument 500 /errors/500.shtml


...but it doesn't work :(

It works only when I try to get for e.g. a "bad file" directly from serer's IP page: http://72.232.62.58/somefile.html

I thought that it should work globally on all domains hosted with my server :(

Any ideas how to do that? Is it possible?

I am looking forward to your replies :)
 
Back
Top