Apache 2 Custom error doc problem
> Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
I had my syntax checked by people in freenode/#apache on irc, they said its fine, and they can't see what the problem is. All the error docs have the same permissions and are owned by the same user.
This is what my typical vhost entry looks like:
<virtualhost 69.93.127.152:80="">ServerName domain.com
ServerAlias www.domain.com
DocumentRoot /wwwroot/htdocs/domain
ErrorLog "logs/domain-error_log"
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" com$
CustomLog logs/domain-access_log "combined"
ErrorDocument 404 /404.html
ErrorDocument 403 /403.html
ErrorDocument 401 /401.html
ErrorDocument 500 /500.html</virtualhost>
I can't work out why the 500 doc doesn't work while all the others do, I can access it fine if I go directly to the doc via my web browser.
I'm using Centos 5 with Apache/2.2.8.