Hi Anders, Depending on what the directories contains (eg. your app) I would nearly be tempted to using OAuth or one of the open authentication protocols. I realise that its not the same as Basic authentication where the authenticated session is generated by another server. Just my two cents worth! On Tue, Jan 11, 2011 at 8:52 PM, Anders Melchiorsen <mail@xxxxxxxxxxxxxxxxxx> wrote: > Hi. > > I want to password protect some directories by forwarding the HTTP > authentication to a different URL. That is, rather than using LDAP or MySQL > as a backend, I want to use a CGI script (possibly on a different server). > > Searching high and low has not helped me -- "http authentication" mostly > turns up discussions on the htpasswd syntax. > > As I was unable to find any official way, I made this test module, > > http://www.kalibalik.dk/anders/software/mod_authn_http/ > > but it would need some work before I can use it for real (it currently > forks a curl process to forward the request). > > So, my question is: how can I do this with just standard modules? > > > Thanks, > 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 > > --------------------------------------------------------------------- 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