Can someone take a look at the syntax of the code below and let me know if it is correct
-- my intention is to exclude the htaccess for the IP ranges specified in the 'Allow' part and rest of all should ask for authentication when they access the site.
This is simply 'denies' every one . IP range specified in Allow from should not ask for htaccess , But it asking for htaccess fro every one.
Can anyone confirm this, and help me to make this work:
Options FollowSymLinks
AllowOverride None
AuthUserFile /etc/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require valid-user
Order deny,allow
Deny from all
Allow from 30.21.37.
Allow from 113.11.23.23