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 184.108.40.206 Satisfy Any
That makes it so that anyone from from 220.127.116.11 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.