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

RE: [cobalt-users] Server side includes?



> 
> That's the stock setting, but if you're willing to beat on 
> the actual httpd.conf file, you can set it to be just about 
> anything you want. =)
> 

It can also be done via .htaccess site by site or just a single
directory

AddType text/x-server-parsed-html .html
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php

Now, some people will say, "but parsing every .html file loads the
server." If every .html/.shtml file had an include statement for a
footer tag anyway, setting it to parse .html files, so you don't have to
rename all your files to .shtml, doesn't have any greater impact on the
server at all.
-- 
Dan Kriwitsky