Additional info: the redirect is not 302 but 301. Here is the request (from chrome console):
Request Method:GET
Status Code:301 Moved Permanently
Request Headers:
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en,en-US;q=0.8,hr;q=0.6
Connection:keep-alive
Cookie: [removed]
User-Agent:Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.114 Safari/537.36
Response Headers
Connection:Keep-Alive
Content-Length:0
Date:Wed, 13 Nov 2013 10:40:38 GMT
Keep-Alive:timeout=5, max=100
Server:Jetty(9.0.2.v20130417)
The last line indicates that the redirect comes from jetty, not from apache.
Gerrit is version 2.5.4.
Thanks,
Kresimir