我在centos 6.4虚拟机上安装了subversion edge,并在主机中设置了一个域来进行反向代理。
我可以访问subversion边缘。但当我浏览资源库视图集成viewvc ..我得到viewvc的奇怪显示。有人可以帮助为什么它看起来很平常。反向代理配置中缺少某些东西,我肯定错过了,无法正确渲染CSS和图像。
在虚拟机浏览器中查看时,上面链接的输出如下所示。
我的vhost_ssl.conf设置为:
SSLEngine On
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
# Protect against BEAST exploit
SSLProtocol ALL -SSLv2
SSLHonorCipherOrder on
SSLCipherSuite RC4-SHA:HIGH
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
KeepAlive On
KeepAliveTimeout 300
ProxyPass /svn/ https://172.16.150.18/svn/
ProxyPass /viewvc/ https://172.16.150.18/viewvc/
ProxyPass /csvn https://172.16.150.18:4434/csvn
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
<Location /svn/>
Order Deny,Allow
Allow from all
</Location>
<Location /viewvc/>
Order Deny,Allow
Allow from all
</Location>
<Location /csvn>
Order Deny,Allow
Allow from all
</Location>