apache支持ssi:如何使你的Apache服务器支持SSI?

如何使你linux平台下和的相同)打开conf目录下httpd.conf文件搜索“AddType text/=t_tag _disibledevent=>html.shtml”找到:

# AddType text/html .shtml
# AddOutputFilter INCLUDES .shtml

把这两行前面#去掉
备注:最重要是这行 # AddOutputFilter INCLUDES .shtml  

然后搜索“Options Indexes FollowSymLinks”
在搜索到行后面添加“ Includes”
即将该行改变为 Options Indexes FollowSymLinks Includes

熟悉apache manual可能会觉得比较容易
保存httpd.conf重起apache即可
到此我们就完成了对Apache SSI设置 TAG: Apache apache APACHE 服务器 SSI


Tags:  apache服务器配置 apache服务器 apachessi apache支持ssi

延伸阅读

最新评论

发表评论