Hi Guys,
I am trying to restrict access to part of my site which serves up the admin interface.
mysite.com/administration
I have added the following information to the .conf file for the apache virtual, and am having issues with getting access from the IP addresses we are 'allowing' access from.
<LocationMatch /administration>
Order Allow,Deny
Allow from 10.0.0.0/8
</LocationMatch>
The IP addresses we are hitting the site from are in the 10.0.0.0/8 range, and we have confirmed in the log files that the IP recorded is in that range (10.10.1.28 and 10.20.15.6 are some examples)
We have also tried
Allow from 10
Allow from 10.10.1.28
Allow from 10.10.0.0/16
Allow from 10.10.1.0/24
Each time the URL gets blocked successfully for external users, but also gets blocked for all internal machines in the 10.x.x.x range.
ANy help would be greatly appreciated.
Cheers,
SB