How to configure custom error page in Plesk 9.3 for non existing folder?
- by Junior Mayhé
I'm trying to configure Plesk in order to show website visitors a custom error html.
The current hosted site is an ASP.NET site. This site shows its custom errors on error403.aspx and error404.aspx files.
Now to comply with plesk, I've created error_docs with required files like forbidden.html, etc...
When user try to navigate http://mysite.com/a_missing_page.aspx, the visitor is redirected to error404.aspx correctly.
But when user try to navigate to a non existent directory http://mysite.com/a_missing_folder/ the site takes me to IIS 404 regular page.
Plesk has Custom error documents activated on Web hosting settings. ASP.NET Error pages defined in web.config are showing fine. But it seems plesk wont show its custom html error documents.
The bottom line here is about setting up a custom error page to a directory. Is it possible to do this using Plesk or do I have to change it manually on IIS?