hankknight
asked on
Apache Authorization: Require password if IP not white-listed
I have a list of IP addresses for people who should be granted access to the website.
Everybody else should be required to enter a password.
My code does not work.
Everybody else should be required to enter a password.
My code does not work.
Order deny, allow
Deny from all
AuthName "Authorization Required"
AuthUserFile "/home/html/.htpasswd"
AuthType Basic
Require valid-user
Allow from 11.22.33
Allow from 22.22.33.44
Allow from 55.44.33.22
Satisfy Any
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.