PDA

View Full Version : Server Side Includes


highwayjones
04-04-2007, 03:00 PM
I just transferred a website over and it's using server-side includes. In its old location, Apache was parsing .html files for SSI directives. I tested .shtml here and it worked, so at the worst I could change every file and every link, but I'd rather find a way to have Apache parse the html files for SSI.

Any ideas?

Matt
04-04-2007, 03:02 PM
AddOutputFilter INCLUDES .html Toss that in the .htaccess file in /var/www/html/ (or wherever the .html pages reside).

SSI on .html files are non-standard; generally it is accepted that .shtml should be used instead.