Issue 1292: URL mismatch on tomcat
Status:  Invalid
Owner: ----
Closed:  Jun 2012
Reported by chenc...@gmail.com, Mar 20, 2012
Affected Version:
gerrit 2.2.2.1
tomcat 6.0.35

gerrit url is http://myserver:8080/gerrit
What steps will reproduce the problem?
1.deploy gerrit to tomcat, mysql db connected and most of webpages run well
2. in gerrit.config, auth.type is DEVELOPMENT_BECOME_ANY_ACCOUNT
3. click Become. its result is ok. show me the accounts. but after i choose one, it will redirect me to http://myserver:8080/#/ and only show me tomcat ROOT homepage
4. i have to update url in url bar to http://myserver:8080/gerrit i'm in.
5. when i click sign out, it redirects me to http://myserver:8080/ too.

What is the expected output? What do you see instead?
expected at step 3: show me http://myserver:8080/gerrit/#
expected at step 5: show me http://myserver:8080/gerrit

Please provide any additional information below.

Mar 20, 2012
#1 sop@google.com
What is gerrit.canonicalWebUrl set to in gerrit.config?
Status: AwaitingInformation
Mar 20, 2012
#2 chenc...@gmail.com
thanks very much.
my old value of gerrit.canonicalWebUrl is http://10.250.8.23:8080

after i change it to http://10.250.8.23:8080/gerrit

gerrit on tomcat runs well now. 
thanks again.
Jun 4, 2012
Project Member #3 nas...@codeaurora.org
(No comment was entered for this change.)
Status: Invalid