Thanks.  I've read that paragraph before and never interpreted it that way
until you pointed it out.

As best I can tell, this is the correct syntax for the pseudocode I posted
previously.  From 5 minutes of testing, it looks like what we needed.

AuthName "Private Site: Unauthorized Access Prohibited"
AuthType Basic

PerlAuthenHandler Apache::AuthDBI::authen

PerlSetVar Auth_DBI_data_source   dbi:mysql:database=etc...

PerlSetVar Auth_DBI_pwd_table            users
PerlSetVar Auth_DBI_uid_field            login
PerlSetVar Auth_DBI_pwd_field            password
PerlSetVar Auth_DBI_encryption_method    sha1hex/md5hex/crypt

Satisfy any
Order Deny,Allow
Deny from all
Allow from 10.10.10
require valid-user

Regards,
KAM

Reply via email to