Re: Sander Smeenk in <[EMAIL PROTECTED]>
> They both only allow ErrorDocuments that reside in your DocumentRoot.

Server configuration:

<VirtualHost *>
        ServerName www2.df7cb.de
        DocumentRoot /cb/www.df7cb.de/public_html
[...]
</VirtualHost>

.htacces in DocumentRoot:

ErrorDocument 401 /error/401_unauthorized.shtml
ErrorDocument 403 /error/403_forbidden.shtml
ErrorDocument 404 /error/404_not_found.shtml
ErrorDocument 500 /error/500_internal.shtml
[...]

results in:

[Sat Apr 30 15:02:08 2005] [error] [client 10.0.0.106] File does not exist: 
/usr/share/apache2/error/404_not_found.shtml

As said in the report, it works when I change it to:

ErrorDocument 401 /401_unauthorized.shtml
ErrorDocument 403 /403_forbidden.shtml
ErrorDocument 404 /404_not_found.shtml
ErrorDocument 500 /500_internal.shtml

It would still be nice if this could be fixed so I don't have to clutter my
DocumentRoot dir.

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to