1
0
mirror of https://github.com/git/git.git synced 2024-10-21 12:48:32 +02:00
git/t/lib-httpd
Jeff King 666aae9aed t/lib-httpd: recognize */smart/* repos as smart-http
We do not currently test authentication for smart-http repos
at all. Part of the infrastructure to do this is recognizing
that auth/smart is indeed a smart-http repo.

The current apache config recognizes only "^/smart/*" as
smart-http. Let's instead treat anything with /smart/ in the
URL as smart-http. This is obviously a stupid thing to do
for a real production site, but for our test suite we know
that our repositories will not have this magic string in the
name.

Note that we will route /foo/smart/bar.git directly to
git-http-backend/bar.git; in other words, everything before
the "/smart/" is irrelevant to finding the repo on disk (but
may impact apache config, for example by triggering auth
checks).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-08-27 10:49:09 -07:00
..
apache.conf t/lib-httpd: recognize */smart/* repos as smart-http 2012-08-27 10:49:09 -07:00
passwd t5550: test HTTP authentication and userinfo decoding 2010-11-17 13:07:43 -08:00
ssl.cnf