1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Custom error documents

Discussion in 'Plesk for Linux - 8.x and Older' started by jpipitone, Mar 20, 2006.

  1. jpipitone

    jpipitone Guest

    0
     
    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
     
  2. jpipitone

    jpipitone Guest

    0
     
    OK - I've restarted apache and now it seems to work....

    One thing - can I use PHP includes within this custom error document now?
     
  3. eilko

    eilko Regular Pleskian

    28
    73%
    Joined:
    Aug 1, 2001
    Messages:
    468
    Likes Received:
    4
    Location:
    Enschede, Netherlands
    I don't think so, the files have a standard name with the html extension. Apache won't recognize them as php files.
     
  4. jpipitone

    jpipitone Guest

    0
     
    I wonder what would happen with .shtml includes?
     
Loading...