proxy

<VirtualHost 211.100.96.5:80>
    ServerAdmin [email protected]
#    DocumentRoot "/pub/httpd/docs/dummy-host.example.com"
#    ServerName dummy-host.example.com
#    ServerAlias www.dummy-host.example.com
#    ErrorLog "logs/dummy-host.example.com-error_log"
#    CustomLog "logs/dummy-host.example.com-access_log" common
     ServerName gz2.example.com
 #    ProxyRequests On
     ProxyRequests Off
     ProxyPass / http://gz.example.com/
     ProxyPassReverse / http://gz.example.com/
#ProxyRemoteMatch  ^/(.*)$ http://gz.example.com/$1 [P,L]
</VirtualHost>

 

./configure --prefix=/usr/local/apache --enable-modules=so --enable-mods-shared=all --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-proxy-ajp --enable-proxy-balancer --enable-rewrite
 

你可能感兴趣的:(apache,proxy,职场,休闲)