Skip to content

Commit

Permalink
t/lib-httpd: only route auth/dumb to dumb repos
Browse files Browse the repository at this point in the history
Our test apache config points all of auth/ directly to the
on-disk repositories via an Alias directive. This works fine
because everything authenticated is currently in auth/dumb,
which is a subset.  However, this would conflict with a
ScriptAlias for auth/smart (which will come in future
patches), so let's narrow the Alias.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Aug 27, 2012
1 parent e837936 commit 05b5771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/lib-httpd/apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ErrorLog error.log
</IfVersion>

Alias /dumb/ www/
Alias /auth/ www/auth/
Alias /auth/dumb/ www/auth/dumb/

<Location /smart/>
SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
Expand Down

0 comments on commit 05b5771

Please sign in to comment.