Thread (13 messages) flat view 13 messages, 6 authors, 2016-06-15

Re: cannot fetch arm git tree

From: Russell King - ARM Linux <hidden>
Date: 2016-06-15 22:50:27
Also in: linux-arm-kernel

On Mon, Jan 24, 2011 at 08:21:09AM +0100, Johannes Sixt wrote:
Am 1/21/2011 15:50, schrieb Russell King - ARM Linux:
quoted
 SetEnv GIT_PROJECT_ROOT /var/www/git
 SetEnv GIT_HTTP_EXPORT_ALL
 ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/

Great.  Deciding that it will be http://servername.example.com/git/ is
really damned annoying as that's traditionally where gitweb lives,
which requires a different script alias.
...
I'm really not interested in working out how to bodge this into working
along side the existing gitweb setup by adding lots of rewrite rules,...
It has been worked out for you already. It's just a single rule (although
a bit longish). Look for 'ScriptAliasMatch' in
http://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html
Thanks, added taking two server restarts (one of them took a few minutes
for apache to restart as it was soo busy...)

I assume this also means that I need to update the URLs people are using
(as the tree wasn't exported under http://hostname.example.com/git/)?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help