Apache正向代理与反向代理配置

正向代理示例配置:
ProxyRequests On
ProxyVia On

<Proxy *>
Order deny,allow
Deny from all
Allow from 192.168.0
</Proxy>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
反向代理示例配置:
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /centos http://www.centos.bz
ProxyPassReverse /centos http://www.centos.bz

posted @ 2014-11-15 16:32  kissing狐  阅读(380)  评论(0编辑  收藏  举报