确认CentOS的版本
cat /etc/redhat-release
CentOS release 6.7 (Final)
确认Apache的版本
httpd -V
Server version: Apache/2.2.15 (Unix)
请确认代理已加载。
httpd -M | grep proxy
proxy_module (shared)
proxy_balancer_module (shared)
proxy_ftp_module (shared)
proxy_http_module (shared)
proxy_ajp_module (shared)
proxy_connect_module (shared)
确认防火墙是开着的
确认监听端口(8888)是否开放
netstat -antp
tcp 0 0 ::ffff:119.254.114.xxx:8888 ::ffff:210.213.86.122:13812 TIME_WAIT -
配置文件
Listen 8888
<IfModule mod_proxy.c>
ProxyRequests On
ProxyVia On
AllowCONNECT 443
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
</IfModule>
ProxyTimeout 1000*1