It’s very easy to make mistakes with the htaccess Order directive, so if it’s not working here’s some tips to fix it (for Apache web servers).
If we get the ‘Deny, Allow’ bit the wrong way round it won’t do what we expect – at best it will do nothing, at worst it denies everybody access to our site. So tread carefully, keep a backup and test after making changes 🙂
IMPORTANT: Also see below as the order directive has been deprecated and there is a newer way to do this.
‘Order’ in htaccess does not work like other kinds of regular expressions (regex).
Key Point 1: Apache always makes THREE passes of the access statements. Continue reading “Your Apache htaccess ‘Order Deny, Allow’ Not Working?”