Re: HTTP authentication using HTTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 11, 2011 at 4:52 AM, 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).

You can do this with mod_perl and one of these modules:

http://search.cpan.org/~chansen/Authen-Simple-HTTP-0.2
http://search.cpan.org/~chansen/Authen-Simple-0.4

Both can be used directly in the Apache configuration file and behave like Apache authentication handlers.

The second module requires a bit more work to set up, but can support caching, which can be useful depending on your setting.

I have been using a module which is a slightly customized blend of the two for several years now with great success.

Hope this helps!

----Scott.


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux