summaryrefslogtreecommitdiffstats
path: root/t/lib-httpd/apache.conf
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-08-27 15:24:42 +0200
committerJunio C Hamano <gitster@pobox.com>2012-08-27 19:49:08 +0200
commit05b577107dda131d46f93aa9bb7817c80bc30ee9 (patch)
treea8cc42c56d8d976488de94cf214caa1dc078db3f /t/lib-httpd/apache.conf
parentt5550: factor out http auth setup (diff)
downloadgit-05b577107dda131d46f93aa9bb7817c80bc30ee9.tar.xz
git-05b577107dda131d46f93aa9bb7817c80bc30ee9.zip
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>
Diffstat (limited to '')
-rw-r--r--t/lib-httpd/apache.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-httpd/apache.conf b/t/lib-httpd/apache.conf
index de3762e247..b183e3513a 100644
--- a/t/lib-httpd/apache.conf
+++ b/t/lib-httpd/apache.conf
@@ -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}