How To Disable .htaccess Authorization for Child Directories
The problem: I have a password protected WordPress install — only a limited group of users may access its content (simple .htaccess/.htpasswd). I also need to access my WordPress stylesheet (which happens to be in a child directory of the protected environment) for an unprotected homepage though.
Traversing the directory stack, we know a more specific .htaccess overrides previous instructions, so despite reading otherwise, I knew there had to be a solution.
Allow from all
Satisfy any
That’s it. Another .htaccess, put into the child directory, featuring these two lines, allows anyone to access resources further down the directory stack — which makes for an exception of the previously defined access restrictions.
Additional comments powered by BackType
Breaking: How To Disable .htaccess Authorization for Child Directories http://l.iw.io/d4iK53 #blog
This comment was originally posted on Twitter
How To Disable .htaccess Authorization for Child Directories http://icio.us/enie5x (via @grafzahl)
This comment was originally posted on Twitter
Awesome post, mate. Just what I was looking. I had exactly the same problem, with a WordPress installation, but the Flash-uploader didn’t work. But it does now, so perfect! Thanks a lot!