bartop


dot pictureservices picturedot picturesupport picture
dot picturecontact picturedot pictureabout picture
dot picturehome picture

header

Navigation

Home
About BIGSEA
Support
Contact
Services
Clients
Rev9
Links
Radio-Dadio


Discussion

Today's Discussion
Create New Topic
List by Topic


Search BIGSEA

Atomz Search:


Advanced Atomz



    Tuesday, September 12, 2006

SSI and xBit Hack


I saw this useful message on a server mailing list I monitor:

Question: "Is it possible to force ssi on .html file extensions?"

Answer: "Yes, by adding this line to .htaccess:

AddHandler server-parsed .html

Question: "If so, are there any dangers running ssi in this manner?"

Answer: "Yes, you will take a performance hit -- because every web page, whether it has SSI directives or not, will have to be parsed for SSI before it is served up.

A much cleaner solution is to take advantage of XBitHack, which is turned on in the Signature web server configuration. When you set the executable bit on an HTML file, it tells the server to parse that file for SSI. So for each file with server-side includes, just run:

chmod +x filename.html

Then the server will only do parsing for SSI on the files that really need it. (Be sure to remove that line above from .htaccess if you decide to use XBitHack.)"

Thanks for the tip!

Posted by Scott Girard on 9/12/06; 12:38:29 PM from the News dept.

#   

 
September 2006
Sun Mon Tue Wed Thu Fri Sat
  1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Aug   Oct



BIGSEA
A metaphor. A philosophy. A way of doing business.

Copyright 1997-2006 - Last update: Thursday, September 14, 2006 at 12:52:26 PM