-   Linux - Server (
-   -   Aapache directory access login authentication (

shrimpwagon 03-13-2007 05:17 PM

Aapache directory access login authentication
Want to know how to setup Directory access like so:

Require login IF user isn't inside of a given IP address.

I know of this:

<Directory /...>
Order Deny,Allow
Deny from all
Allow from 192.168.0

AuthType Basic
AuthName "Password Required"
AuthUserFile /www/passwords/password.file
AuthGroupFile /www/passwords/group.file
Require Group admins
</Directory> is still requiring a password if they are inside of the allowed IP address AND nobody can access it outside of that address.

I just want them to be able to get right in without having to be authenticated IF they are inside the IP address BUT be authenticated if they are outside of that IP address.

Any help would be spectacular.

Thank you so much,


rtspitz 03-13-2007 05:45 PM

Order Allow,Deny
Allow from

AuthType Basic
AuthName "somename"
AuthUserFile /etc/apache2/.users
Require valid-user

satisfy any

shrimpwagon 03-13-2007 08:55 PM

You rock bro! Thanks!

All times are GMT -5. The time now is 07:32 PM.