- 博客(5)
- 资源 (19)
- 收藏
- 关注
原创 apache 2.4.1 配置文件目录浏览并优化显示
一.目录浏览的配置。 主配置文件 httpd.conf 中修改: 1)添加支持模块。 LoadModule autoindex_module modules/mod_autoindex.so LoadModule dir_module modules/mod_dir.so 2)为DocumentRoot目录添加Options Indexes,即可生成目录。 options In
2012-03-27 10:51:06 8029
原创 apache 2.4.1 配置cgi、webdav、SSI支持
apache 2.4.1 默认安装目录/usr/local/apache2 一、配置webdav 1.httpd.conf中user group 改daemon 为apache或其他非root用户组,没有此用户需要新建。 2.httpd.conf中包含httpd-dav.conf:Include conf/extra/httpd-dav.conf。 3.httpd-dav.conf
2012-03-27 10:08:12 5135
原创 apache 2.4.1 无法解析shtml中的expr指令
apache 2.4.1上运行内嵌的shtml格式文件,在页面上提示一下错误: [an error occurred while processing this directive] SSI对shtml格式的配置是正常的,其他指令可以解析,能够执行cgi指令。 通过分析error_log文件,说是apache 无法解析expr指令。也许是因为版本的差异,需要在主配置文件httpd.conf中
2012-03-27 09:48:31 1270
原创 ubuntu 下 apache 2.4.1 编译安装流程
1.官方网站下载apache 2.4.1,解压。 2.在解压目录下依次执行一下指令: ./configure make make install 3.因为平台的差异(源码包下的文件 README.platforms 中有说明),其中./configure 会出错,需要安装apr、apr-util、pcre这三个包(建议下载最新),配置安装步骤网上有许多指导。 4.安装pcre时
2012-03-23 09:36:04 1204
原创 apache 配置 ssi 解析指令exec
在shtml文件中看到 此hello即为服务器端的cgi程序,静态页面动态执行服务器端cgi的方式之一。 一、配置ssi apache2.2 的配置文件默认安装在/etc/apache2 的目录下,可以看到好几个配置文件(http.conf、 port.conf...)。我的配置文件是 /etc/apache2/sites-available/default. 1)添加如下语句: A
2012-03-14 21:02:30 828
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人