Apache HTTPD
RewriteEngine Basic Auth
Directive: Directory
<Directory "/var/www/html"> Options FollowSymLinks AllowOverride All Require all granted </Directory> <Directory "/var/www/html"> Require all denied Require ip 12.34.56.78/24 Require ip 12.34.56.79 </Directory>