[Pugged] .htaccess & DB

Steve Langasek ciapug@ciapug.org
Thu, 12 Sep 2002 13:12:15 -0500


On Wed, Sep 11, 2002 at 06:13:43PM -0500, Tim Perdue wrote:
> Has anyone controlled access to apache directories by looking up permissions
> in a database? I'm sure it's been done many times, but I don't recall seeing
> it anywhere.

> Essentially, it would be like making your .htaccess file a simple shim that
> looks into a database structure for username/pass.

> Any pointers would be helpful/

Something like this?

$ apt-cache search mod-auth.*sql
libapache-mod-auth-mysql - Apache module for MySQL authentication
libapache-mod-auth-pgsql - Apache module for PostgreSQL authentication
$

Never used either of them, myself; I'm more inclined to use mod_auth_pam
or mod_auth_krb5...

Steve Langasek
postmodern programmer