kan*_*ane 8 git apache2 gerrit
我可以登录gerrit服务器并查看代码.但是当我点击退出时点击右上方的退出链接我无法退出,它将返回到Code Review Dashboard页面
下面是我的httpd.conf和gerrit.config,请帮帮我!!! 韩国社交协会...
<VirtualHost *>
ServerName localhost
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location /login/>
AuthType Basic
AuthName "Gerrit Code Review"
AuthBasicProvider file
AuthUserFile /home/kk/gerrit/server/etc/passwords
Require valid-user
</Location>
ProxyPass / http://10.10.68.224:9091/
ProxyPassReverse / http://10.10.68.224:9091/
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
gerrit.config
[gerrit]
basePath = git
canonicalWebUrl = http://10.10.68.224:9091/
[database]
type = H2
database = db/ReviewDB
[auth]
type = HTTP
[sendemail]
smtpServer = localhost
[container]
user = kk
javaHome = /usr/lib/jvm/java-6-sun-1.6.0.26/jre
[sshd]
listenAddress = *:29418
[httpd]
listenUrl = proxy-http://10.10.68.224:9091/
[cache]
directory = cache
Run Code Online (Sandbox Code Playgroud)
kan*_*ane 12
我用一种糟糕的方法来修复它.我在auth部分添加以下内容.
logoutUrl = http://aa:aa@10.10.68.224
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5362 次 |
| 最近记录: |