Update:
I found this caused by the project name contain slash.
I following the discussion here and solve part of this issue:
Now the problem becomes I get trigger HTTP basic authentication. The server response:
Configuration Error and says I must check my Apache server setting:
<Location /r/login/>
AuthType Basic
AuthName "Gerrit Code Review"
Require valid-user
...
</Location>
I follow the instruction but with no luck.
Here is my virtual host setting:
<VirtualHost *:80>
ServerName 172.22.10.110
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location /r/login/ >
AuthType Basic
AuthName "Gerrit Code Review"
AuthBasicProvider file
AuthUserFile /home/gerrit/.htpasswd
Require valid-user
</Location>
AllowEncodedSlashes On
</VirtualHost>
I am not familiar with Apache but this seems I can not trigger the authentication.
Any suggestion?
李大明於 2017年8月3日星期四 UTC+8下午1時14分23秒寫道: