[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] SSI with .htm and .html
- Subject: [cobalt-users] SSI with .htm and .html
- From: "Brian M. Rahill" <brian@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue Apr 17 09:59:07 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi All,
I'm trying to get SSI to work on .htm and .html files instead of the usual
.shtml. But I only want to turn this on for one virtual site.
I've read through the archives and tried adding an .htaccess file to the
site's web root containing the following:
AddType text/html .shtml
AddHandler server-parsed .shtml
AddType text/html .html
AddHandler server-parsed .html
AddType text/html .htm
AddHandler server-parsed .htm
I've even tried:
AddHandler server-parsed .shtml .html .htm
But I keep getting a 500 server error. I've checked the error logs and see
something like: "error AddType not allowed here"
Any thoughts on this one? Yes I know about xbithack but the .html files I
want SSI on are generated by a cgi-script automatically so I can't keep
making them executable.
Any help is much appreciated!
Thanks.
Brian