Skip to content

Commit 05b5771

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e837936 commit 05b5771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/lib-httpd/apache.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ErrorLog error.log
4343
</IfVersion>
4444

4545
Alias /dumb/ www/
46-
Alias /auth/ www/auth/
46+
Alias /auth/dumb/ www/auth/dumb/
4747

4848
<Location /smart/>
4949
SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}

0 commit comments

Comments
 (0)