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