misternas Posted June 2 Posted June 2 I would like to know if it is possible to configure typical web page errors like 400, 401, 403, 404 and 500 with custom pages in shtml format.
misternas Posted June 9 Author Posted June 9 "This message frequently appears, and I would like the ability to customize the error messages." 504 Gateway Time-out nginx
wolstech Posted June 9 Posted June 9 Krydos would be able to answer this. I'm not sure if SHTML (HTML with Server Side Include) is even supported as basically nobody uses it anymore. Custom error pages are supported via Plesk, but I'm not sure if the gateway timeout one can be customized or not as it's caused by scripts timing out or Apache restarting.
Krydos Posted June 9 Posted June 9 Never tried it before, but I created a file named /home/paginaweb.helioho.st/error_docs/504.html and configured Nginx to use that instead of the default. Feel free to edit it if you want. Let us know if it works.
Recommended Posts