English 中文(简体)
反向的Proxy与Appa2不做工作
原标题:Reverse Proxy with Apache2 don t work
  • 时间:2009-10-20 21:14:01
  •  标签:

I m使用Appa/2.2.8(Ubuntu),有问题。 有一个文件/etc/apache2/sites- available/backuppc,其内容如下:

<VirtualHost *>  
ProxyRequests Off  
<Proxy *>  
Order deny,allow
Allow from all
</Proxy>
ProxyPass /backuppc http://192.168.134.59:80/backuppc
ProxyPassReverse /backuppc http://192.168.134.59:80/backuppc
<Location /backuppc/>
ProxyPassReverse /backuppc
</Location>
</VirtualHost>

This runs on 192.168.134.10. In the browser (FF) the address http : //localhost/BackupPc goes to the desired server but the addressline shows up with http : //192.168.134.59/backuppc/. This feels like this ProxyPass works like a DNS-Server... Finally from internet only 192.168.134.10 is reachable, and with /backuppc i get the login but now access to the desired server.

页: 1

和平

Ice

最佳回答
问题回答

暂无回答




相关问题