Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're trying to lock down our administrative site by requiring a password AND requiring that the request is coming from an authorized IP address. We've figured out how to do both separately, but can't figure out how to combine the two.

AuthName     "Restricted Access"
AuthUserFile /usr/www/users/directory/.passwd
AuthType     Basic
Require valid-user
Order deny,allow
Deny from all
Allow from 79\.1\.129\.85
Satisfy Any

This is the closest we've come. BTW, we also want to be able to enter multiple IP addresses on the white list.

share|improve this question
up vote 0 down vote accepted

You should use

Satisfy All

As for the Allow from part, have a look at

You can use for example

Allow from
share|improve this answer
Genius! Thanks. – kenja Mar 3 '10 at 0:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.