日期:2014-05-17  浏览次数:20715 次

安装配置apache http proxy 服务器(用户代理上网)
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Proxy>

?第一步,下载

??? wget http://labs.xiaonei.com/apache-mirror/httpd/httpd-2.2.14.tar.gz

?

第二步,解压

???

gunzip httpd-2.2.14.tar.gz 
tar -xf httpd-2.2.14.tar 
cd httpd-2.2.14

?

第三步,编译安装

??

./configure --enable-proxy --enable-proxy-connect --enable-proxy-http --prefix=安装目录
make
make install

?

第四步,修改配置

??? 再http.conf中加入

????

ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Proxy>

?

启动 apache http