TECHIES WORLD

For Techs.... Techniques.... Technologies....

ApacheCpanelLinux

How to whitelist ipaddress from htaccess authentication

Some times we need to white list some ipaddress from htaccess authentication.

We can do the same by adding few line just below the auth configuration in .htaccess file.

Order allow,deny
Allow from ipaddress1 ipaddress2
satisfy any

Here we need to replace ipaddress1, ipaddress2 with the ipaddress need to be whitelisted.

That's all.........

 

Leave a Reply