t/lib-httpd: only route auth/dumb to dumb repos
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>
Jeff King committed
Aug 27, 2012 at 09:24 UTC
05b577107dda131d46f93aa9bb7817c80bc30ee9
1 file changed
+1
-1
t/lib-httpd/apache.conf
+1
-1
@@ -43,7 +43,7 @@ ErrorLog error.log
43
</IfVersion>
44
45
Alias /dumb/ www/
46
-Alias /auth/ www/auth/
46
+Alias /auth/dumb/ www/auth/dumb/
47
48
<Location /smart/>
49
SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}