开发者

Setting Up Apache Server on Windows 7(Specifically To Use SSI)

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜