Thread (14 messages) 14 messages, 3 authors, 2016-08-12

Re: [RFC PATCH] gitweb: Support filtering projects by .htaccess files.

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:45:34

Francis Galiegue [off-list ref] writes:
Le Monday 03 November 2008 18:26:44 Alexander Gavrilov, vous avez écrit :
quoted
On Mon, Nov 3, 2008 at 7:54 PM, Francis Galiegue [off-list ref] wrote:
quoted
It just seems to me that this is emulating functionality that
multiple Web servers already provide...

What's more, knowledge about these Web servers are _much_ more
widespread than knowledge about gitweb.

Why reinvent the wheel?
[...]
quoted
If you are speaking of web servers as in 'Apache', then how would it
know which files are going to be accessed when it executes
cgi-bin/gitweb.cgi?p=very/private/project.git to check permissions?
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...

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help