Open GoogleCodeExporter opened 9 years ago
Same issue running the WAR file in a root context.
I have an Apache VirtualHost pointing to gitblit running on the ROOT Context of
a Tomcat VirtualHost.
Everything works fine, except for the graph image.
It appears to be fetching the image using the request hostname, instead of
being relative to the context. If I inspect the broken image in Chrome, the
image url is in fact the proxied hostname, which is unreachable.
Original comment by magn...@gmail.com
on 21 May 2015 at 10:32
I'm seeing this problem in a slightly different way. In my case the context
path is being respected, but `web.canonicalUrl` is *not* being used. I'm
getting broken links because it's using the loopback adapter for some reason.
http://127.0.0.1:8000/gitblit/graph/?r=training/foo.git&h=cd0364f7e95f0af8771f0df8dfb68643286e4d17&l=32
If there's a workaround, I'd be interested in hearing about it.
Original comment by fi...@datamininglab.com
on 27 May 2015 at 8:24
Attachments:
PS: Using version 1.6.2 from the `jmoger/gitblit` Docker image.
Original comment by fi...@datamininglab.com
on 27 May 2015 at 8:25
Original issue reported on code.google.com by
eResona...@gmail.com
on 5 Mar 2015 at 5:04