1,927   Apache

1,确保代理模块加载了

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so

2,配置virtualhost

 Listen 7003
NameVirtualHost *:8080

<VirtualHost *:8080>
# ServerAdmin webmasterdummy-host.example.com
 DocumentRoot /var/www/html/
 ServerName 10.123.177.206
 ErrorLog "| /usr/sbin/rotatelogs /var/log/httpd/general_%Y%m%d_7003_error_log 86400 480"
 CustomLog "| /usr/sbin/rotatelogs /var/log/httpd/general_%Y%m%d_7003_access_log 86400 480" common

 ProxyRequests On
 ProxyVia On

 <Proxy *>
 Order deny,allow
 Deny from none
 Allow from all
 </Proxy>


</VirtualHost>

3,在浏览器设置代理上网,填写代理IP和端口:1.2.3.4:7003




One Response

  1. 花呗套现

    花呗套现,秒回款,手机号跟微信号同步13676108504我们是一家正规公司,花呗五分钟就可到账。

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *