[thelist] .htaccess

Matthew Blanchard blanchardmatthew at hotmail.com
Wed Dec 5 10:21:23 CST 2001


From: "Richard Bennett" <richard.bennett at skynet.be>
Subject: Re: [thelist] .htaccess


> From: "Keith" <cache at dowebs.com>
>
> > Did you do the same thing I did, change to using shtml on a site
> > after people had bookmarked index.html?
> >
> > keith
>
> Hi,
> I wonder, why would you want to change to index.shtml?
> If you want to start using SSI on the site, you can simply set .htaccess
to
> allow SSI-parsing in html files can't you?:
> Like this:
>
> AddHandler server-parsed .shtml .htm .html
>

It's possible, but static files ('.html') are more efficient. You don't want
the server to parse and process every '.html' file, and there's also the
caching issue: emitting "Last-modified".

(But it's possible to treat individual '.html' files as '.shtml': see
XBitHack)





More information about the thelist mailing list