NYCPHP Meetup

NYPHP.org

[nycphp-talk] Canceling password protected directories

Dan Cech dcech at phpwerx.net
Wed May 26 09:27:13 EDT 2004


Daniel Kushner wrote:
> In /var/www/html/.htaccess there is
> AuthType Basic
> AuthName "admin"
> AuthUserFile "<path to passwd>"
> 
> I would like to unprotect /var/www/html/somedir
> /var/www/html/somedir does not have an .htaccess, so there's nothing to
> remove. 

Looking through the Apache docs it doesn't seem there is a way to do 
this, the only supported AuthType directives are Basic and Digest.

You may want to try placing a .htaccess file in /var/www/html/somedir 
with the lines:

Allow from all
Satisfy any

You can read more about these directives here:

http://httpd.apache.org/docs-2.0/mod/core.html#satisfy

Dan




More information about the talk mailing list