Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

htaccess subdirectory question

Status
Not open for further replies.

chelito

Technical User
Aug 1, 2002
1
US
I currently have a working .htaccess password protected website.

here is .htaccess file in the _________________________________
AuthName "By Invitation Only"
AuthUserFile /AuthGroupFile /Require valid-user

<Files ~ ^\.ht>
Order allow,deny
Deny from all
</Files>
_________________________________

My question is:
What do I need to make a subdirectory ( not password protected while leaving the rest of the site protected?
 
Create a container for that dir then use:

AllowOverRide none
Order Allow, Deny
Alow from all

Any directives in a container should override any that are set globally.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top