Apache中ssi的配置方法
来源:互联网 发布:软件测试工资待遇上海 编辑:程序博客网 时间:2024/05/22 03:05
Apache默认不支持ssi,需要修改httpd.conf文件
1、查找
#AddType text/html .shtml
#AddHandler server-parsed .shtml
将前边的#注释符去掉
#AddHandler server-parsed .shtml
将前边的#注释符去掉
2、查找
<Directory "d:/APM_Setup/htdocs"> </Directory>
这里是网站根目录设置选项,(路径会有所不同)
在
在
Option 选项后加 Includes
例如:
<Directory "d:/APM_Setup/htdocs">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options FollowSymLinks MultiViews ExecCGI Includes
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options FollowSymLinks MultiViews ExecCGI Includes
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
3、保存httpd.conf修改,重起apache
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
3、保存httpd.conf修改,重起apache
- Apache中ssi的配置方法
- Apache中配置ssi
- Apache支持SSI的配置
- 浅析Apache中SSI和CGI的设定方法
- Nginx 配置 SSI 的方法
- apache ssi配置
- 配置apache支持SSI
- 为Apache配置SSI
- apache服务器ssi支持配置
- apache配置ssi支持shtml
- Tomcat6.0和apache http server2.2的ssi配置
- tomcat6中ssi配置
- Apache的服务端包含--SSI
- apache下ssi的支持
- apache 配置 ssi 解析指令exec
- windows 下 apache 动态缓存 ssi 配置
- Apache配置解析SHTML支持(SSI)
- SHTML简介及Apache配置ssi功能
- 百度k站之说
- 圆角div css样式
- 回家了
- 小菜编程成长记(十三 设计模式不能戏说!设计模式怎就不能戏说?)
- Q130R安装XP操作系统
- Apache中ssi的配置方法
- test
- private、protected、public........
- IDBC连接数据库,参数设置
- C#动态加载创建程序集
- 屏蔽webbrowser的script error
- Debian/Ubuntu Linux下内核编程者必备
- [JAVA]短信猫群发系统(中间件)
- 几个漂亮的Button的CSS