Code

gitweb/README: fix AliasMatch in example
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 27 Jun 2009 16:24:11 +0000 (18:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Jun 2009 20:15:57 +0000 (13:15 -0700)
commit1bed73c64a354248d6b342e58df257e8233bcbd2
tree037dc2b3db7a91dba9dc79a1a6aa0a6cfbd1d054
parent0f7050469b7ae9a95ab01880ecd5cf22e6e41dd2
gitweb/README: fix AliasMatch in example

When combining "dumb client" and human-friendly access by using the
'.git' extension to switch between the two, make sure the AliasMatch
covers the entire request. Without a full match, a request for

http://git.example.com/project/shortlog/branch..gitsomething

would result in a 404 because the server would try to access the
the project 'project/shortlog/branch.'

The solution is still not bulletproof, so document the possible failing
case.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/README