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: