[wplug] .htaccess and directory exception

Poyner, Brandon bpoyner at ccac.edu
Mon Jan 2 09:04:20 EST 2006


Place a .htaccess in the /www/htdocs/open with this content:

Allow from all
satisfy any

Brandon Poyner
Network Engineer III
CCAC - College Office
412-237-3086
 
 

> -----Original Message-----
> From: wplug-bounces+bpoyner=ccac.edu at wplug.org 
> [mailto:wplug-bounces+bpoyner=ccac.edu at wplug.org] On Behalf 
> Of Russ Schneider
> Sent: Tuesday, December 27, 2005 10:08 PM
> To: WPLUG
> Subject: [wplug] .htaccess and directory exception
> 
> I have a .htaccess file in my Document Root that password 
> protects the 
> entire directory tree underneath it.  It looks like this:
> 
> AuthUserFile /www/htdocs/.htpasswd
> AuthType Basic
> AuthName "Site Under Development"
> 
> <LIMIT GET POST>
> require valid-user
> </LIMIT>
> 
> 
> Works just fine, but I'd like one of the directories 
> underneath where this 
> file is to not be covered by the file.
> 
> I.e. in /www/htdocs/open I'd like all files in that directory 
> and that 
> directory alone to be able to be viewed without authentication.
> 
> How do I do this?  Everything I read and try seems to give me 
> 500 errors.
> 
> 
> -- 
> Russ Schneider (a.k.a. Sugapablo)
> http://www.sugapablo.net                                      
>               
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 



More information about the wplug mailing list