用apache给ghs.google做反向代理

<VirtualHost *:80>

ServerName isme.com.ru

ProxyRequests off

<Proxy *>

Order deny,allow

Allow from all

</Proxy>

ProxyPreserveHost on

ProxyPass / http://ghs.google.com/

ProxyPassReverse / http://ghs.google.com/

</VirtualHost>

<VirtualHost 173.212.195.x:80>

ProxyRequests off

<Proxy *>

Order deny,allow

Allow from all

</Proxy>

ProxyPreserveHost on

ProxyPass / http://ghs.google.com/

ProxyPassReverse / http://ghs.google.com/

</VirtualHost>

4

3 thoughts on “用apache给ghs.google做反向代理

  1. 你好,在此我想请问下一些小白问题,你的apache是在服务器下运行的对吧,这样的话不是要求服务器整天开着?另外,怎样能实现在国外的虚拟主机上运行呢?这是最最让人关心的了

留下评论