Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

How to allow ALL in a specific directory?

9:45 pm on Dec 2, 2003 (gmt 0)

New User

10+ Year Member

joined:Oct 10, 2003
votes: 0

In my Root, I have an .htaccess file that sets the overall tone of my site.

However I have one directory with some banners I would like everybody to gain access to.

How do I turn on access to all files with an .htaccess?

11:58 pm on Dec 2, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

The directive you're looking for here is Satisfy any. Use it with Allow and Require to allow access either by password authorization or by location.

You may also have to use SetEnvIf to test Request_URI to enable Allow to take a location instead of a Remote Address, etc.

There is a tutorial on the Apache web site dealing with authorization, and also several recent post [webmasterworld.com]s here dealing with the issue you're interested in.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members