When I say 'not working' I don't mean it's broken. I mean I can't get it to work so I must be doing something wrong. (I am new to this)
I have the following code in a htaccess file placed in the folder I want to restrict access to...
<Limit GET>
Order deny,allow
Deny from all
Allow from [the ip address I'm trying to allow]
</Limit>
I have checked that the AccessFileName
directive is set in apache2.conf
I reboot the server after each edit of the file.
The file is set with 644 permissions.
And I am still able to access the site from ips other than the one I'm allowing.
What am I doing wrong?