Re: .htaccess question

2005-07-18 Thread Kevin A. McGrail
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 Prohibi

Re: .htaccess question

2005-07-18 Thread Geoffrey Young
Kevin A. McGrail wrote: > Not sure really. > > I'm trying to make sure that this is the case in pseudocode. > > Deny from everyone unless: > > 1. From intranet without a password > -or- > 2. Anywhere else with a password and valid-user using ApacheDBI right. that's exactly what Satisfy is fo

Re: .htaccess question

2005-07-18 Thread Kevin A. McGrail
Not sure really. I'm trying to make sure that this is the case in pseudocode. Deny from everyone unless: 1. From intranet without a password -or- 2. Anywhere else with a password and valid-user using ApacheDBI Regards, KAM > > Satisfy Any > Allow from 192.168.2.10 > PerlAuthenHa

Re: .htaccess question

2005-07-18 Thread Geoffrey Young
Philip M. Gollucci wrote: > Kevin A. McGrail wrote: > >> :-) Already read that but I can probably add this as a feature to Apache >> AuthDBI. Something like AutoLogin or AllowIntranet or something with >> an IP >> range that will be matched for and then "meet" the required valid-user >> require

Re: .htaccess question

2005-07-18 Thread Philip M. Gollucci
Kevin A. McGrail wrote: :-) Already read that but I can probably add this as a feature to Apache AuthDBI. Something like AutoLogin or AllowIntranet or something with an IP range that will be matched for and then "meet" the required valid-user requirement. I can't think of a good one, but I w

Re: .htaccess question

2005-07-17 Thread Kevin A. McGrail
> > Is there a way to do something like this in .htaccess or do I need to make > > another mod to AuthDBI? > Not that I know of. > > The closest thing I can think of is: (I'll bet you read it already) > http://httpd.apache.org/docs-2.0/howto/auth.html > > but that won't do it. :-) Already read tha

Re: .htaccess question

2005-07-16 Thread Philip M. Gollucci
Kevin A. McGrail wrote: 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?

.htaccess question

2005-07-16 Thread Kevin A. McGrail
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