I want to use ssi includes, but want to keep the extension as .html.. is it possible?
well try this
http://www.google.co.uk/search?hl=en&q=i...
I want to use ssi includes, but want to keep the extension as .html.. is it possible?home theatreYou should be able to do that if you insert this line into your Apache configuration file for your site, or your .htaccess file:
AddHandler server-parsed .html
(The default setting is
#AddHandler server-parsed .shtml
which only looks at .shtml files and is, of course, commented out here.)
The disadvantage of this technique is that it will force Apache to examine each and every HTML file for SSI tags, which is wasteful for the pages that don't use it.
You can also use a similar technique to, for example, have PHP execute files with .html extensions also.
More Related Questions and Answers ...
The information post by website user , we not guarantee correctness.
