Hello everyone:
Now I have two problems when using gerrit.
First gerrit password
How can a new user change his password for logining ? now the server
just can change user's passwords by Admin throw the way of"
sudo htpasswd /home/book/gerrt_sites/etc/passwords "user2"
"
I can click the button Generate Password on the web of settings--
>HTTP password ,but how to use it ? The new user just use the
password to login.
Second web show error
when the user login the web show the message of "not found" except
login at the first time(click other it works), and when sign out the
web also show "Configuration Error"
the following is my config file
gerrit.config
[gerrit]
basePath = git
canonicalWebUrl =
http://192.168.22.221:8080/
[database]
type = MYSQL
hostname = localhost
database = reviewdb
username = git
[auth]
type = HTTP
[sendemail]
smtpServer =
mail.xxx.com
smtpUser =
ger...@xxx.com
[container]
user = book
javaHome = /usr/lib/jvm/java-6-sun-1.6.0.26/jre
[sshd]
listenAddress = *:29418
[httpd]
listenUrl = proxy-
http://192.168.22.221:8080/
[cache]
directory = cache
apache2 config file
<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/book/gerrt_sites/etc/passwords
Require valid-user
</Location>
ProxyPass /
http://192.168.22.221:8080/
</VirtualHost>
is that all right ? my gerrit version is 2.2.2.1
Thanks for your reply!