Have more detailed Custom Error pages including HTTP sub-codes in Plesk
Plesk for Windows actually provides a /error_docs/ folder containing 14 default customizable Error pages, located within the default "Virtual Host Template".
But these 14 files only include 3-digit HTTP Codes (ie. 500).
As defined by the HTTP protocol, IIS generally return more detailed error codes, including the subcode (ie. 500.13, or 500.100).
It would be great if Plesk could provide more numerous error pages, relating to each error code (using "subStatusCode"), just like Microsoft did (as located in the following folders) :
- C:\inetpub\custerr\en-US
- C:\inetpub\custerr\fr-FR
They provide 56 custom error pages (for example 500.htm, 500-13.htm, 500-14.htm, 500-19.htm, 500-100.htm, and so on).
Actually, Plesk simply throw off the "subStatusCode" and just drops it from the "web.config" file, like this :
<remove statusCode="500" subStatusCode="-1" />
This subStatusCode IS useful : do not drop it. Manually create additional rules for my own detailed error pages is a pain.
Thank you for your input!
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
—
IG