linux服务器如何设置支持shtml

来源:百度知道 编辑:UC知道 时间:2024/05/30 23:23:56
linux服务器如何设置支持shtml

apache 开启对shtml支持 模块mod_include

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

参考
http://httpd.apache.org/docs/2.2/mod/mod_include.html

你说的是Apache 还是Nginx?

只要安装SSI模块即可支持shtml了!