We have a .htaccess with AuthDBI working perfectly under MP1 and MP2.  I've
deleted the data source information but here is the .htaccess we use:

AuthName "Private Site: Unauthorized Access Prohibited"
AuthType Basic

PerlAuthenHandler Apache::AuthDBI::authen

PerlSetVar Auth_DBI_data_source   dbi:mysql:(working database source)

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

require valid-user


I have tried in vain to figure out a way to make it some that there is no
password from intranet.  In pseudo code,

if (192.168.1) { continue } else { do everything above }


Is there a way to do something like this in .htaccess or do I need to make
another mod to AuthDBI?

Regards,
KAM

Reply via email to