如何使你的Apache服务器支持SSI
来源:互联网 发布:sftp 默认端口 编辑:程序博客网 时间:2024/06/05 02:24
Apache默认是不支持SSI的,需要我们更改httpd.conf来进行配置。我这里以windows平台的Apache 2.0.x为例,打开conf目录下的httpd.conf文件,搜索“AddType text/html .shtml”,搜索结果:
# AddType text/html .shtml
# AddOutputFilter INCLUDES .shtml
把这两行前面的#去掉,修改下面两行:
AddType text/html .html
AddOutputFilter INCLUDES .html .php
然后搜索“Options Indexes FollowSymLinks”
在搜索到的那一行后面添加“ Includes”
即将该行改变为 Options Indexes FollowSymLinks Includes
保存httpd.conf,重起apache即可。
到此我们就完成了对Apache SSI的设置。
注意:INCLUDES 后面是ssi文件的后缀名。。 请根据自己的情况设置。
0 0
- 如何使你的Apache服务器支持SSI
- 如何让你的IIS服务器支持SSI
- apache服务器ssi支持配置
- Apache支持SSI的配置
- apache下ssi的支持
- apache支持ssi
- 配置apache支持SSI
- 如何让你的Apache支持https
- apache配置ssi支持shtml
- 开启SSI使Apache支持shtml网页文件
- Apache下开启SSI配置使shtml支持include包含
- Apache下开启SSI配置使shtml支持include包含
- Apache下开启SSI配置,使html支持include包含
- 设置APACHE 支持SSI (ORACLE PORTAL +APACHE )
- 如何配置Tomcat6支持SSI
- 如何让自己的本地APACHE服务器支持.htaccess
- 如何让自己的本地APACHE服务器支持.htaccess .
- tomcat6如何配置ssi使其支持shtml?
- Extjs介绍及视频教程
- 【转】windows7下 php连接mysql的问题
- windows7下 将editplus添加到右键菜单
- 【转载】哈佛图书馆的二十条训言
- Could not reliably determine the server's fully qualified domain name
- 如何使你的Apache服务器支持SSI
- host 文件绑定域名注意事项
- apache启动不了
- windows7下安装 memcached
- 记一个应届生的求职旅途
- php缓存控制
- 遍历memcache中已缓存的key
- APACHE下多个域名绑定到一个目录下
- GridLayout 初步探究