]> Lady’s Gitweb - Gitweb/commit
gitweb/README: fix AliasMatch in example
authorGiuseppe Bilotta <redacted>
Sat, 27 Jun 2009 16:24:11 +0000 (18:24 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
commit8467d6ae3a28e9398e8be47a8a73c37c8a67474dce4a0118dc21ea7551c4d01e
treea20e2e398ebbea5e567a3ff1adeee36fb993083aa80f9461f4f3003bf231b595
parentc0530d1d0ce339e5aec27c6e72198ec3b6fcad45377f2736b800c84f8792858e
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
README
This page took 0.111777 seconds and 4 git commands to generate.