Are there any specific setup tips regarding using Apache on Wondows(7) I am just trying to test a websi开发者_开发技巧te locally. Again specifically, what should be kept in mind regarding running html SSI's? I have read the Apache website regarding this and I have my pages running properly on a test host online but cannot repeat my success locally. I have spent a few hours reading various websites for help without success. Thanks.
Server Side Includes? A few configuration lines is all it takes...
My WampDeveloper setup comes with SSI enabled by default using this:
<IfModule include_module>
<Directory "D:/WampDeveloper/Websites/*/webroot">
Options +Includes
AddOutputFilter INCLUDES .html .shtml
</Directory>
</IfModule>
Which turns on SSI for all the website DocumentRoot folders.
httpd.conf ofcourse has this also:
LoadModule include_module modules/mod_include.so
You should be able to modify the above for your own setup fairly easy.
精彩评论