Feb 1, 2002 #1 axman505 Technical User Jun 20, 2001 489 US How would i tell my .htaccess file to say allow from ip address 192.168.0.1, but still ask for passwords from interennt addresses?
How would i tell my .htaccess file to say allow from ip address 192.168.0.1, but still ask for passwords from interennt addresses?
Feb 1, 2002 #2 ifincham IS-IT--Management Jul 11, 2001 1,768 GB Hi, You would use 'satisfy' ... For example : Order Deny,Allow Deny from All Allow from 192.168.0.1 AuthName "MyIPAuth" <--- whatever u like AuthType Basic AuthUserFile /usr/local/web/apache/.htpasswd Require valid-user Satisfy Any That should allow 192.168.0.1 but require a user/password otherwise. Hope this helps Upvote 0 Downvote
Hi, You would use 'satisfy' ... For example : Order Deny,Allow Deny from All Allow from 192.168.0.1 AuthName "MyIPAuth" <--- whatever u like AuthType Basic AuthUserFile /usr/local/web/apache/.htpasswd Require valid-user Satisfy Any That should allow 192.168.0.1 but require a user/password otherwise. Hope this helps