php
方法二:如何让apache支持.shtml 让apache支持include标签
复制代码 代码如下:
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options Indexes FollowSymLinks includes
以下是详细的说明介绍
js
http://www.cppcns.com数据库GdFuC
网页制作
网站脚本网页
编程客栈linux
复制代码 代码如下:
# AddType text/html .shtml
# AddOutputFilter INCLUDES .shtml
把这两行前面的#去掉 。
然后搜索“Options Indexes FollowSymLinks”
在搜索到的那一行后面添加“ Includes”
即将该行改变为 Options Indexes FollowSymLinks Includes
熟悉apache manual的可能会觉得比较容易。
保存httpd.conf,重起apache即可
SSI命令:
www.cppcns.com
www.cppcns.com
本文标题: apache SHTML网页SSI使用详解
本文地址: http://www.cppcns.com/os/linux/51835.html
© 著作权归作者所有
举报
发表评论
0/200