[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] [Raq3] Server-side Includes and "XBitHack"
- Subject: RE: [cobalt-users] [Raq3] Server-side Includes and "XBitHack"
- From: "Dan Kriwitsky" <webhosting@xxxxxxxxx>
- Date: Mon Feb 12 21:20:04 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> On one of the sites, I manually added the line "XBitHack on"
> and saved the change (I did this as "root", of course), but the SSI's
> still don't work without the ".shtml" extension on the file. What's
> up?
>
> I checked the list archives about this and only found a
> couple of posts about a year ago. One suggested using a ".htaccess"
> file with the XBitHack command in that file. Another suggested adding
> ".html" to the Server-parsed line in the Apache Config file. However,
> Apache doesn't recommend doing this as it apparently puts quite a
> load on the server when it has to parse all of the files.
> (http://httpd.apache.org/docs/howto/ssi.html)
>
> Anybody know if my Raq3 needs some other magic to enable
> SSI's with a standard ".html" extension? I've added ALL of the Cobalt
> updates to my Raq, BTW.
>
Umm, I'm confused. On the one hand you want to parse .html files. On the
other, you worry about Apache having too big a load on the server if it
does?
You can put in a .htaccess file with:
AddType text/x-server-parsed-html .html
Or, you can edit httpd.conf for that site.
If you're worried about all the .html files being parsed, the .htaccess
could be placed in one sub-directory with the .html files to be parsed.
--
Dan Kriwitsky
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com