打开conf目录下的httpd.conf文件,搜索“AddType text/html .shtml”,搜索结果:
修改为:
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options Indexes FollowSymLinks includes
保存httpd.conf,重起apache即可。
到此我们就完成了对Apache SSI的设置.
详细解决方案
怎么让apache支持.shtml 让apache支持include标签(转)
热度:414 发布时间:2012-12-25 16:18:28.0
相关解决方案
- apache-tomcat-7.0.32下的html页面不能访问有关问题
- Spring自动扫描 <context:componet-scan>和加了<context:include-filter>以后有什么区别
- 在<jsp:include>里边添加action路径
- org.apache.xerces.impl.msg.XMLMessages not loaded解决方案
- org.apache.http.client.HttpClient与org.apache.commons.httpclient.HttpClient的差别
- org.apache.axis.client.Service的有关问题
- 请问<jsp:include page="" flush="true"/> 不能解释执行的原因
- myeclipse集成tomcat之后,启动tomcat,一直处在Starting Servlet Engine: Apache Tomcat/6.0.14,该如何解决
- 软件 apache-tomcat(这是一个文件)跟 单独下载apache 和 tomcat有什么区别 ?该如何处理
- Apache Synapse ESB 怎么使用
- org.apache.tools.zip.ZipOutputStream 压缩后可否按添加顺序
- org.apache.tools.zip.ZipOutputStream 压缩后可不可以按添加顺序
- 奇怪的有关问题,include 源文件正常 #include 头文件出link异常,请高手解答一下
- VC2005求援!#include<fstream>
- c:\F\visualstudio2008中文版\VC\include\excpt.h(60) : error C2065:
- 怎么把头文件#include "h" 转成 #include <h>
- visual studio 10.0\vc\atlmfc\include\atlcore.h(111): error C3861:
- 为什么在DW8设计视图下<include file="">后 下面的table都看不见呢,该如何解决
- 在 ASP.NET 中怎么嵌入 HTML,实现类似 <jsp:include /> 的功能
- :如何样动态改变 include 文件
- Cannot open include file: 'ps_trace.h'的有关问题
- NS2中 #include <wireless-phy.h> 引发的有关问题
- Apache CGI 两问,该如何解决
- apache tomcat启动有关问题,跟大家探讨一上
- apache+tomcat配置url rewrite 的怪有关问题
- apache tomcat 整合有关问题
- apache+tomcat负载均衡与集群性能疑问解决办法
- apache commons包中的bag和双向地图
- Apache+Tomcat+Proxy集群要领
- 各位神仙同僚们 问一下,关于UML中关于类图描述里,include 和 extension都应该在哪种情况下使用,该怎么解决