[Pugged] .htaccess & DB

Tim Perdue ciapug@ciapug.org
Thu, 12 Sep 2002 13:35:33 -0500


--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 12, 2002 at 01:12:15PM -0500, Steve Langasek wrote:
> On Wed, Sep 11, 2002 at 06:13:43PM -0500, Tim Perdue wrote:
> > Has anyone controlled access to apache directories by looking up permis=
sions
> > in a database? I'm sure it's been done many times, but I don't recall s=
eeing
> > it anywhere.
>=20
> > Essentially, it would be like making your .htaccess file a simple shim =
that
> > looks into a database structure for username/pass.
>=20
> > Any pointers would be helpful/
>=20
> Something like this?
>=20
> $ apt-cache search mod-auth.*sql
> libapache-mod-auth-mysql - Apache module for MySQL authentication
> libapache-mod-auth-pgsql - Apache module for PostgreSQL authentication
> $
>=20
> Never used either of them, myself; I'm more inclined to use mod_auth_pam
> or mod_auth_krb5...

Hmm - this is going to be hosted at an ISP, so I don't know if modules will
work. I may have to generate the .htaccess files using a script of some sor=
t,
although that's ugly as hell.

Tim

--=20
Founder - PHPBuilder.com / Geocrawler.com / SourceForge
GPG Public Key: http://www.perdue.net/personal/pgp.php
Perdue, Inc. / Immortal LLC
515-554-9520

--KsGdsel6WgEHnImy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9gN51LxmgedYDVWQRAhOxAJ9By9zpXosvXV2BsGDqZ4febZjXtQCeNWM8
GkDUTU619mUtvZqwzRjONJw=
=Z2JL
-----END PGP SIGNATURE-----

--KsGdsel6WgEHnImy--