Hi! I created my on error pages and when I try to connect on no real pages I receive log like this: [Wed Jul 04 11:49:23 2012] [error] [client ] File does not exist: /var/www/some domain.com.pl/web/jhdfkg, referer: http://www.somedomain.com.pl/jhdfkg [Wed Jul 04 11:49:23 2012] [error] [client ] File does not exist: /usr/share/apache2/error/404.html, referer: http://www.somedomain.com.pl/jhdfkg it looks that apache try find error pages in wrong folder virtulahost has confguration like: ErrorDocument 400 /error/400.html ErrorDocument 401 /error/401.html ErrorDocument 403 /error/403.html ErrorDocument 404 /error/404.html ErrorDocument 405 /error/405.html ErrorDocument 500 /error/500.html ErrorDocument 502 /error/502.html ErrorDocument 503 /error/503.html may be somebody know why is it happend?
Check your apache config files, it seems as there is a alias for /error somewhere in your setup which redirects all requests to the global apache error directory.
when virtulahost has confguration like this with full path ErrorDocument 400 /var/www/clients/client333/web444/error/400.html it works I can not find any alias
There must be a alias defined in one of the apache config files of the linux distribution, you can find it e.g. with the grep command. Changing the path to the full path is not required when you remove the alias.