Alex Laforge
New Pleskian
Hi,
In plesk 12.5, there are only 14 default customizable Error pages.
I know how to customize them in the "Default Host Template" (usually located in C:\Inetpub\vhosts\.skel\0\httpdocs)
But I have noticed that Microsoft did a "better" job by providing more detailed error custom pages, relating to each error code (using "subStatusCode"), located in :
It would be great if there were a way to use these custom detailed error pages when Plesk generates a new website from this template.
I can create these files into the "Default Host Template" folder, and thy will be copied with every new website. BUT : Plesk only creates 14 rules for its default 14 files in the "web.config" file, always with subStatusCode set to "-1".
How can I have Plesk to generate more rules in the "web.config" file with the detailed subStatusCode, without having to painfully adding my additional files rules , and without having to edit each file for the @domain_name@ placeholder that will obviously remain blank ?
In plesk 12.5, there are only 14 default customizable Error pages.
I know how to customize them in the "Default Host Template" (usually located in C:\Inetpub\vhosts\.skel\0\httpdocs)
But I have noticed that Microsoft did a "better" job by providing more detailed error custom pages, relating to each error code (using "subStatusCode"), located in :
- C:\inetpub\custerr\en-US
- C:\inetpub\custerr\fr-FR
It would be great if there were a way to use these custom detailed error pages when Plesk generates a new website from this template.
I can create these files into the "Default Host Template" folder, and thy will be copied with every new website. BUT : Plesk only creates 14 rules for its default 14 files in the "web.config" file, always with subStatusCode set to "-1".
How can I have Plesk to generate more rules in the "web.config" file with the detailed subStatusCode, without having to painfully adding my additional files rules , and without having to edit each file for the @domain_name@ placeholder that will obviously remain blank ?
Last edited: