Posted:
Tue May 13, 2003 7:01 am (21 years, 7 months ago)
Hi folks,
got this problem: I want to configure my Apache-.htaccess in a way that it asks for username:password when users come from a certain IP. And it shouldn't ask when the request comes from a certain other IP. How can this be done?
My current .htaccess looks like this (always asks for pwd):
-----
AuthUserFile /path/to/passwords
AuthName "Members"
AuthType Basic
require valid-user
order deny,allow
deny from all
allow from xxx.xxx.xxx.x
Satisfy Any
-----
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.