I'm a tad confused after reading these docs:
I wrote this site definition:
$ cat /etc/apache2/sites-enabled/adminer.conf Alias /adminer "/var/www/adminer.php" <Location "/adminer"> <RequireAny> Require local Require ip 192.168 Require ip 10 </RequireAny> </Location>
I restart Apache:
$ sudo service apache2 restart
and yet from a WAN situated PC I can still load:
I am bamboozled I admit and presume I am misunderstanding something or have misread something in the above mentioned docs. If anyone can point me in the right direction here I would be most appreciative. I would rather have access to
adminer only from within the LAN and not open it up to attacks from the WAN.
EDIT: I do see this in
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
Can that have a higher priority perhaps than my Location specifier?