I don't understand why this isn't working for me. Here's my conf portion:
<Directory /> AuthType Basic AuthName "Please Log In for Access" AuthUserFile /etc/apache2/.htpasswd Order Deny,Allow Deny from all Allow from 18.104.22.168 22.214.171.124 Satisfy any <LimitExcept POST> Require valid-user </LimitExcept> </Directory>
However, the "Satisfy any" let's anyone through. If I change it to Satisfy all, the authentication shows for the Allowed IP and Non allowed IP's.