• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

'How Do I' change the custom error documents llocation or type?

J

jonbev

Guest
I would like to be able to use a .php or .aspx error document but the default seems to be .html. Is there any way to change this or to specify error documents by name?

Using 7.0.1 on win 2K3

Cheers

Jon Bev
 
Without writing a javascript or meta redirect on your html error pages you need to manually go into IIS and change the default error docs there. Right click domain, get properties, go to custom errors. Remember to use URL for the message type. The standard file method will not support server side script.
 
Back
Top