Yea, Gerrit wants to connect to a SMTP server to send email to you at
your new address. You need to configure the outgoing mail resource in
$JETTY_HOME/contexts/gerrit.xml (if you are using Jetty), otherwise do
the same in whatever container you are using...
Set canonical_url in system_config.
On Mar 26, 2009 7:17 AM, "J.K Wang" <jkun...@gmail.com> wrote:
Thanks Shawn,
Now I can register a new email address, but when I recieved the
registration email, the link is "http://127.0.0.1:8081/Gerrit#......."
How I can change it to my custom address.
On Mar 26, 12:46 am, Shawn Pearce <s...@google.com> wrote:
> On Wed, Mar 25, 2009 at 02:09, J.K Wang <jkun.w...@gmail.com> wrote: > > > I'm trying to setup a l...
--~--~---------~--~----~------------~-------~--~----~ To unsubscribe, email repo-discuss+unsubscribe...
This is your problem. You also need to load Gerrit in the container
under /review/.
Internally I'm running Gerrit under /g/:
Apache config:
<Location /g/>
AuthType google-sso
AuthName AndroidGoogleGitWeb
require group eng
</Location>
ProxyPass /g/ http://127.0.0.1:8081/g/
JETTY_DIR/contexts/gerrit.xml:
<Configure id="wac" class="org.mortbay.jetty.webapp.WebAppContext">
<Set name="contextPath">/g</Set>
Otherwise, yea, it will loop. Gerrit gets a request under "/" and
expects it under "/review/" so it redirects, and gets stuck.