I want to use ssi includes, but want to keep the extension as .html.. is it possible?



Google


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 theatre

You 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 ...
  • Can anyone tell me the software to run a file..
  • Is there a pully system that will let me hang..
  • DvDRiP.XviD .i saw this as my utorent downloa..
  • Hpw do I make a file with a "cur" o..
  • My mobile NOKIA 6280 does'nt accept ..
  • Is the Labour Party the Anti-Christ party, an..
  • Is $1750 a good price for the 6 year, 100k wa..
  • I have a South African passport.How do I get ..
  • Can someone tell me where to find a dynamic I..
  • I have a recliner that won't stay sh..
  • I'm probaly will be late filling thi..
  • What application can read a mpb file? Mpb is ..
  • Do any one know where i can get the best hair..
  • Does anyone make a wireless ,after market dir..
  • What is the best way to set up a remote phone..
  • Can i work on OPT(optional practical training..
  • What file is my Yahoo! messeger log written t..
  • How do you open pictures that were sent to me..
  • Does anyone know where to buy a double bass d..

  • The information post by website user , we not guarantee correctness.