Reputation: 1823
I do have a requirement to rewrite all my 404 error pages to a html file. I tried with
ErrorDocument htdocs/error.html
But the pages are not getting redirected to it in case of no pages. I am using Apache to get data from JBOSS using Mod-JK.
Please help me on this.
Upvotes: 0
Views: 691
Reputation: 5253
Create a .htaccess in the htdocs folder.
ErrorDocument 404 /error.html
Upvotes: 1