server parsed files
Posted by: Dave (---.bulldogdsl.com)
Date: January 25, 2006 01:42PM

Hi all

Just downloaded and installed Wamp... very cool!

I use the following statement in my .htaccess files to add dynamic content via .shtml files...

AddHandler server-parsed .html

but this doesn't seem to work in Wamp. Is there a setting I need to change? I've looked in the Apache config file, but it isn't obvious to me.

Any help appreciated!

Dave

Re: server parsed files
Posted by: Dave (---.bulldogdsl.com)
Date: January 26, 2006 06:24PM

Nobody has an answer?

Just FYI, the lines in the html pages are

<!--#include file="blah.shtml" -->, which call other files from the website.

These lines work fine in the sites I've got hosted remotely, but don't work in Wamp, rather I see the actual text of the include.

Thanks

Dave

Re: server parsed files
Posted by: Sheri (63.75.14.---)
Date: February 08, 2006 08:05PM

Make sure you have both of the following lines in your httpd.conf:

AddType text/html .shtml
AddHandler server-parsed .shtml

Make sure "Includes" is set as an option inside the main <Directory> config. Example:

Options Indexes FollowSymLinks Includes

Sorry, only registered users may post in this forum.