WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Frame Avoidance

for

From: julian.rickards@ndm.gov.on.ca
Date: Apr 9, 2003 11:57AM


Joel wrote:

<snip>
> Not necessarily. You can configure both Apache and IIS to
> parse .htm and
> .html files for server side includes, of course this adds
> some additional
> processing load to your server.
</snip>

Yes, this is true. However, it is my understanding that the default (or most
common) extension is .shtml (for Apache SSI anyway). The filename extension
can be anything that you configure Apache to look for including .htm or
.html. The problem though with using .htm(l) is that Apache will scan each
.htm(l) file for SSI instructions and even when there is none, there is at
least a small hit on CPU load. I was taught to keep the extensions separate
so that Apache knows when to scan the file for SSI instructions and when
not. For the same reason, I name all includes with .inc - for me, it makes
it clear that it is an include file. I have seem people name their include
files .shtml which again means that the server will scan those for SSI
instructions even though they have none.

HTH,

Jules


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/