Re: [RFC PATCH] gitweb: Support filtering projects by .htaccess files.
- From
- Francis Galiegue <fg@one2team.net>
- Date
- Nov 3, 2008, 18:44 UTC
- Message-ID
- <200811031944.03116.fg@one2team.net>
- In-Reply-To
- <m38ws0fzca.fsf@localhost.localdomain>
Le Monday 03 November 2008 19:18:56 Jakub Narebski, vous avez écrit :
Show 17 quoted lines
> > > > Well, as far as Apache is concerned, it can do: > > > > * basic .htpasswd authentication, > > * LDAP, > > * PAM, > > * SSL certificate check (via mod_ssl), > > * probably others. > > > > Plenty of possibilities. > [...] > > Well, the question is if Apache (and other web servers used with > gitweb) can do authentication based on path_info or on query-string. > Because it is encoded in gitweb (via $projectroot) where to find git > repositories... >
Can you expand on path_info and query-string? Keep in mind that Apache has mod_rewrite, which can rewrite URLs in any way before it gets actually sent to the underlying program (whether it be a CGI or anything else), even badly (or mischievously).
-- fge