Do you have name every page .shtml that uses server side includes or is it just the index page?
phranque
1:49 pm on Nov 16, 2007 (gmt 0)
you don't even have to use a .shtml name if you have apache 2.0 or higher. you can use SetOutputFilter INCLUDES [httpd.apache.org] and all SSI directives in your source will be processed.
otherwise i believe SSI processing is typically based on file name and/or mime type of the (parent) document.
jdMorgan
9:31 pm on Nov 16, 2007 (gmt 0)
To parse both htm and html pages for SSI includes, you can use
AddHandler server-parsed .html .htm
in your Apache 1.x .htaccess file.
Jim
phranque
1:31 am on Nov 17, 2007 (gmt 0)
AddHandler is probably the better general solution.
i had SetOutputFilter on my mind because i had to use it recently - i believe it is the only apache solution for using ssi in a cgi script...