• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

'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