bobpxp 发表于 2018-11-24 13:38:09

apache include html

  httpd.conf 相关部分改为如下
  加载模块 LoadModule include_module libexec/apache2/mod_include.so

[*]  AddType text/html .shtml
[*]  AddOutputFilter INCLUDES .html(如果是.shtml就是支持shtml)
[*]  Options Indexes FollowSymLinks includes
  使用语法
  
  


文件不存在将报一下错误  



页: [1]
查看完整版本: apache include html