The access control to my server is defined like this:
Order allow,deny
Allow from 127.0.0.1
And this works the way I want it. First, only access from the local machine is allowed and then everything else is denied. But I found lots of examples that would do something like this instead:
Order deny,allow
Deny from all
Allow from 127.0.0.1
This makes more sense. First, all access is denied and then, only local access is allowed.
My question is, are they equivalent and do exactly the same thing? They way I see it, they are, but I just want to make sure they are exactly the same. If not, how do they differ and which one should I go for to allow access to my local machine only?