[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] SSI on *.html



At 09/27/2000 14:16:23 MDT, the forward command post of catweasel.org
intercepted a message from James Riordon <James@xxxxxxxxxx>:

> Wow, thanks for all the info!
> 
> Last question
> 
> Can someone verify that this is the correct info to put into the 
> .htaccess file for it to accept .html as a file to be parsed.
> 
> AddHandler server-parsed html
> Options +Includes
> 
> Do I have to include any other headers for it too work properly?
> Would I use this same info in the httpd.conf file too?

This is how I did it in etc/httpd/conf/httpd.conf:

<VirtualHost ###.###.###.###>
ServerName host.domain.com
...
...
...
AddHandler server-parsed .htm
</VirtualHost>

If you've already enabled SSI on the site, remove:

AddHandler server-parsed .shtml
AddType    text/html     .shtml

You would probably want to change .htm to .html for your client.


Trust me, I'm a doctor
The webthing <webthing@xxxxxxxxxxxxx>
http://www.catweasel.org/
http://www.enchantedspirit.net/

Never forget: 2 + 2 = 5 for extremely large values of 2.