commit | 1646874104dbec6bf4e3179c2cdb284c6f949533 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Sat Mar 13 17:33:49 2010 -0800 |
committer | Shawn O. Pearce <sop@google.com> | Sat Mar 13 17:33:49 2010 -0800 |
tree | 6e473696b3e6fcf77c90f3a38eed4eecb0462a5f | |
parent | 618dae2a03279d34a87b5f0760f22c74fe778140 [diff] |
Fix gitweb CGI when in subdirectory If Gerrit is mounted inside of a subdirectory, we need to include the context path as part of the SCRIPT_NAME environment variable when we run the gitweb.cgi script. If we don't, gitweb produces links to /gitweb, which won't work on the site. Bug: issue 495 Change-Id: I3f806c360c3d6b517e8aeea65b0387875ba12621 Signed-off-by: Shawn O. Pearce <sop@google.com>