256
技術社區[雲棲]
apache服務器ssi支持配置
apache服務器ssi支持配置
1. 打開conf目錄下的httpd.conf文件,搜索“AddType text/html .shtml”,找到:
# AddType text/html .shtml
# AddOutputFilter INCLUDES .shtml
把這兩行前麵的#去掉 。
2. 然後搜索“Options Indexes FollowSymLinks”
在搜索到的那一行後麵添加“ Includes”
即將該行改變為 Options Indexes FollowSymLinks Includes
重新啟動即可。
最後更新:2017-04-02 16:48:19