Reputation: 1108
I want my page to redirect to custom error 500 page. However, when I specify the page I want to be redirected to, the plain old 500 error page appears, and not mine.
I'm using this line to do it
ErrorDocument 500 /errors/error500.html
However if I specify HTML instead of the link, it works
ErrorDocument 500 '<div style="width:200px; margin:0 auto; text-align:center">Oooppss <br></div>'
What am I doing wrong??
Upvotes: 0
Views: 86
Reputation: 1965
Set RewriteBase:
RewriteBase /
And make sure that the file /errors/error500.html
exists.
Upvotes: 0
Reputation: 2750
What is your RewriteBase base ?
can you try complete path /usr/local/web/index.html ?
~K
Upvotes: 1