[thelist] SSI's

Maximillian Von Schwanekamp anaxamaxan at neptunewebworks.com
Wed Jul 28 17:09:19 CDT 2004


Rob Smith wrote:

>All this talk about SSI's has got me thinking. Are there any other pages
>besides .php, .asp, and .shtml that accept and can use SSI's?
>
Depending on your server setup, any file text type can be 
server-parsed.  E.g. in Apache, adding directives (e.g. in .htaccess or 
httpd.conf) such as:
AddType text/x-server-parsed-html .html #allows .html files to be parsed 
like .shtml
AddType application/x-httpd-php .html #allows .html to be parsed as .php

On most sites, this is trivial and effective.  On a high-traffic site, 
arbitrarily telling the Apache to parse every .html file could be a bad 
idea...

Maximillian Von Schwanekamp
Dynamic Websites and E-Commerce
NeptuneWebworks.com <http://www.neptunewebworks.com/>
voice: 541-302-1438
fax: 208-730-6504




More information about the thelist mailing list