首页 > 代码库 > Apache正向代理与反向代理配置

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


apache正向代理配置:

 ProxyRequests On

ProxyVia On   

<Proxy *>

 Order deny,allow

  Deny from all

  Allow from 192.168.1

  </Proxy>

  CacheEnable disk /

CacheRoot "/var/cache/mod_proxy"


apache反向代理配置:

 ProxyRequests Off

 <Proxy *>

  Order deny,allow

  Allow from all

 </Proxy>

  ProxyPass /w4ya http://www.w4ya.com

  ProxyPassReverse /w4ya http://www.w4ya.com


本文出自 “龙爱雪琪” 博客,请务必保留此出处http://dragon123.blog.51cto.com/9152073/1551253

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