gpt4 book ai didi

git - gerrit+apache2 无法注销

转载 作者:太空狗 更新时间:2023-10-29 12:50:27 25 4
gpt4 key购买 nike

我可以登录 gerrit 服务器并查看代码。但是我无法通过单击右上角的注销链接注销当我点击注销时,它将返回到代码审查仪表板页面

下面是我的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>

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

最佳答案

我用了一个糟糕的方法来修复它。我在 auth 部分添加以下内容。

logoutUrl = http://aa:aa@10.10.68.224 

关于git - gerrit+apache2 无法注销,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11879891/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com