• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Custom error documents

J

jpipitone

Guest
I've enabled custom error documents and I've modified the not_found.html document within the error_docs directory, however I'm still getting a default page as the error page, rather than my custom 404 page.

Any ideas why this is happening? You can view the example here:

http://www.digitonestudios.com/doesntexist.html
 
OK - I've restarted apache and now it seems to work....

One thing - can I use PHP includes within this custom error document now?
 
I don't think so, the files have a standard name with the html extension. Apache won't recognize them as php files.
 
Back
Top