Browse Source

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>
maint
Jeff King 12 years ago committed by Junio C Hamano
parent
commit
05b577107d
  1. 2
      t/lib-httpd/apache.conf

2
t/lib-httpd/apache.conf

@ -43,7 +43,7 @@ ErrorLog error.log @@ -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}

Loading…
Cancel
Save