The reason it did not work is because your Deny directive overrode your Allow directive.
What Order Allow,Deny does is:
- Evaluate
Allow, flag "allow" if any matched.
- Evaluate
Deny, flag "deny" if any matched (even if previously matched by Allow)
- Evaluate flag. If flag is not set, deny it.
So, it is required that you remove Deny from All if you do not want all requests to be Denied. Just a note for MickeyRoush's answer.
As for Order Deny,Allow, it's the "opposite":
- Evaluate
Deny, flag "deny" if any matched.
- Evaluate
Allow, flag "allow" if any matched (even if previously matched by Deny)
- Evaluate flag. If flag is not set, allow it.
See the link MickeyRoush gave for more information.