On Tue, 11 Jan 2011 10:20:11 +0000 (UTC), Igor GaliÄ <i.galic@xxxxxxxxxxxxxx> wrote: > ----- "Devraj Mukherjee" <devraj@xxxxxxxxx> wrote: >> Depending on what the directories contains (eg. your app) I would >> nearly be tempted to using OAuth or one of the open authentication >> protocols. > > +1 on that. I want an easy way to password protect my internal gitweb, munin, photos, wikis, etc. I do not want to implement new authentication for all of these applications. >> > So, my question is: how can I do this with just standard modules? > > ErrorDocument 401 URI > > See: > http://httpd.apache.org/docs/current/mod/core.html#errordocument That one says "Therefore, if you use an ErrorDocument 401 directive then it must refer to a local document." so it does not seem to address my situation. Anders. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx