打开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页面不能访问有关问题
- 关于jsp中 include file上的地址有关问题
- Spring自动扫描 <context:componet-scan>和加了<context:include-filter>以后有什么区别
- org.apache.jasper.JasperException: Unable to compile class for JSP:该怎么解决
- 初学者有关问题之二: include 指令和 include 动作有啥区别
- org.apache.catalina.connector.RequestFacade有关问题
- org.apache.jasper.JasperException: Unable to compile class for JSP:解决思路
- 在<jsp:include>里边添加action路径
- 有个有关问题,请各位帮忙看看:java.lang.ClassNotFoundException: org.apache.struts.action.Act
- httpclient老是提示java.lang.NoSuchMethodError: org.apache.http.protocol.BasicHttpCon
- org.apache.xerces.impl.msg.XMLMessages not loaded解决方案
- Server Apache Tomcat v6.0.35 at localhost failed to start
- apache+resin与iis+tomcat解决方法
- <jsp:include page = "<%=fileName>">该怎么解决
- org.apache.http.client.HttpClient与org.apache.commons.httpclient.HttpClient的差别
- apache-FtpServer不能下传/新建中文名文件,文件夹
- org.apache.jasper.JasperException: java.lang.NullPointerException,该怎么处理
- org.apache.tomcat.util.http.Parameters processParameters,该怎么解决
- 请问:org.apache.jasper.JasperException: Cannot find any information on property 'userPhone' in a bean of type 'Bean.Sender'
- org.apache.axis.client.Service的有关问题
- org.apache.struts.actions.dispatchAction的错误?
- org.apache.catalina.core.ApplicationDispatcher invoke Servlet.service() for se解决思路
- apache+tomcat 无法解析servlet,该如何处理
- 请问<jsp:include page="" flush="true"/> 不能解释执行的原因
- Eclipse 报错org.apache.catalina.LifecycleException: Failed to start component。该怎么解决
- java.lang.ClassNotFoundException: org.apache.velocity.Template解决方法
- 求帮助JSF有关问题:org.apache.jasper.JasperException: java.lang.NullPointerException
- myeclipse集成tomcat之后,启动tomcat,一直处在Starting Servlet Engine: Apache Tomcat/6.0.14,该如何解决
- org.apache.jasper.JasperException: java.lang.NumberFormatException: null,该怎么解决
- org.apache.jasper.JasperException: java.lang.NumberFormatException: null,该如何解决