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

Re: [cobalt-users] RaQ4: SSI and html-files



> Hi !
> 
> My server executes SSI - commands only if the HTML page has the ending
> .shtml.
> I would like to execute the code however in pages with the ending .html.
> 
> How can I "teach" that to the server?
> Which configuration files do I have to process?
> Any ideas?
> Thanks,

This is more of an apache question than it is a Raq. I'm pretty sure you
could do it with an .htaccess file or edit the httpd.conf file and add it to
the virual host container. It would look something like this:

In your httpd.conf file change

AddHandler server-parsed .shtml

to

AddHandler server-parsed .html

Check the Apache docs for more information.

http://www.apache.org

HTH,
j
-- 
http://www.bizmanuals.com