|
|
| 首页
> 技术频道 >
硬件学院
> 浏览技术 关键字: apache |
| apache2.0.54防止盗连接详细配置 |
| 2006-2-8 9:59:38 menling 来源:中华服务器网
点击:958次 加入收藏夹 |
|
|
要让apache防盗连接,首先要让apache支持.htaccess客户设置文件,还要增加mod_rewrite模块。以下是我的编译安装过程。
1. 安装apache增加mod_rewrite模块 tar xfzv httpd-2.0.54.tar.gz cd httpd-2.0.54 ./configure --prefix=/usr/local/httpd --enable-module=most --enable-shared=max --enable-rewrite --enable-rewrite将od_rewrite模块编译进来 make make install 查看apache编译进来的模块 [root@TFP httpd-2.0.54]# /usr/local/httpd/bin/apachectl-l Compiled in modules: core.c mod_access.c //支持.htaccess文件 mod_auth.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c 对不起,您需要登录后才能查看全部详细内容
|
|
|
|