Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: 403 html vrs 403 shtml
08-07-2012, 03:28 AM #1
403 html vrs 403 shtml
Hi, i have a custom error page set for my deny access as 403.html
I have noticed recently in my error log that file not found 403.shtml
So i created the file 403.shtml with the same content as my html file so i have both in there now.
I dont understand why it would be looking for shtml not html, i guess i dont understand the difference, should i have both?
my other pages work fine 401,500 and they are html (not shtml) so is 403 special for some reason that it has to be shtml?
Last edited by durangod; 08-07-2012 at 03:31 AM.
08-07-2012, 04:13 AM #2
- Join Date
- Sep 2005
- Sydney, Australia
- Thanked 663 Times in 652 Posts
.shtml pages allow server side includes whereas .html pages don't (unless you override the definition).
<!--#include virtual="header.html" -->
08-07-2012, 06:03 AM #3
Yes i understand basically how ssi works, and yes i do have ssi set up and i do use it. But you lost me, i dont know what that has to do with the 403 file, shouldnt it be just like the others 401 and 500, which are html.
Why would there need to be a special 403.shtml in addition to the 403.html
Last edited by durangod; 08-07-2012 at 06:25 AM.