HTACCESS Apache Authentication with IP whitelisting
HTACCESS Apache Authentication with IP whitelisting
Since Apache Version 2.4 it is possible to use if / else conditions in your htaccess file (see http://httpd.apache.org/docs/2.4/new_features_2_4.html).
That’s why you can gain IP based access to restricted folders for whitelisted IP addresses like that:
########### HTACCESS Auth ############## # IP-Ausnahmen: # 33.33.33.1 => locale vagrant box local.cb.dev # 127.0.0.1 => localhost beliebiges…
View On WordPress



