我可以登錄gerrit服務器並查看代碼。 但是我無法通過點擊右上方的註銷鏈接註銷當我點擊登出時,它會返回到Code Review儀表板頁面gerrit + apache2不能註銷
下面是我的httpd.conf和gerrit.config,請幫助我!!! TKS ...
<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
「不好」是主觀的......它可能不夠優雅,但它幾乎是消滅證書的唯一方法。這對我來說非常合適! – MartyMacGyver 2012-08-30 22:39:31
所以一個簡單的註銷方式是在URL地址欄輸入'http://'後輸入'xx:oo @',然後按Enter鍵。 – Joyer 2015-03-05 10:06:44
嗨,它不能使用HTTP – 2015-08-28 08:28:46