CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   403 html vrs 403 shtml (http://www.codingforums.com/showthread.php?t=269728)

durangod 08-07-2012 02:28 AM

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?

Thanks

felgall 08-07-2012 03:13 AM

.shtml pages allow server side includes whereas .html pages don't (unless you override the definition).

for example:

<!--#include virtual="header.html" -->

durangod 08-07-2012 05:03 AM

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


All times are GMT +1. The time now is 03:26 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.