在本地代理服务器上设置“ProxyRequests Off”,并在本地代理端口上启用“ProxyPreserveHost”。 以下是一些可能有用的示例配置:
ProxyPreserveHost On
Order deny,allow
Allow from all
AuthType Basic
AuthName "Restricted Area"
AuthUserFile /path/to/passwords
Require user username
ProxyRequests Off
ProxyPass / http://localhost:80/
ProxyPassReverse / http://localhost:80/
下一篇:本地代码仓库没有远程文件