Computer Genius Blog :: aka “TheGarage”

August 22, 2007

Server Side Includes

Filed under: Web Tech — DC @ 8:39 am

It seems me SSI is not working properly on cgwwff. Suddenly my footer with all the nav buttons and sitemeter and whatnot isn’t showing. Dammit it’s always something.

UPDATE: It was the old XBitHack trick. My .htaccess file was”renewed” somehow in the process of all the domain changes and blog reconfigurations and the problems therewith. I was using the XBitHack for cgwwff to implement server side includes for my footer without having to change the file name of all the pages to an .shtml file extension, which is required for the server to process includes. XBitHack tells the server to scan all pages with the executable bit set so I can just chmod +x *.html and presto all my web pages will be scanned for the include footer directive.

It’s important to enable this for only those pages that need it as a slight burden is placed on the server for each page scanned for includes. No since in incurring an unnecessary burden on the server for pages that don’t even have an include, eh.

Powered by WordPress

Close
E-mail It