I have httpauth turned on for a folder on my site, but when coming from a specific IP address I don’t want that, I just want to pass right through.

Here’s what I have in my .htaccess file to facilitate that:

Order deny,allow
Deny from all
AuthType Basic
AuthUserFile /path/to/.htpasswd
AuthName "Go Away"
require valid-user
Allow from
Satisfy Any

That makes it so that anyone from from would NOT be prompted for a password at all, they’d get right through.

You should be able to do anything you wish in the spot I have Auth running.

Leave a Reply

Your email address will not be published. Required fields are marked *