[PATCH 3/8] t/lib-httpd: only route auth/dumb to dumb repos
- From
Jeff King <peff@peff.net>
- Date
- Aug 27, 2012, 13:24 UTC
- Message-ID
- <20120827132442.GC17375@sigill.intra.peff.net>
- In-Reply-To
- <20120827132145.GA17265@sigill.intra.peff.net>
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> --- t/lib-httpd/apache.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/lib-httpd/apache.conf b/t/lib-httpd/apache.conf index 36b1596..d13fe64 100644 --- a/t/lib-httpd/apache.conf +++ b/t/lib-httpd/apache.conf @@ -46,7 +46,7 @@ PassEnv GIT_VALGRIND PassEnv GIT_VALGRIND_OPTIONS Alias /dumb/ www/ -Alias /auth/ www/auth/ +Alias /auth/dumb/ www/auth/dumb/ <Location /smart/> SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
-- 1.7.11.5.10.g3c8125b