My entire site is protected using an .htaccess file (requires the user to log in).

There is one directory I would like completely open to the public. Directory is www.mysite.com/pv/

I cannot figure out how to allow complete access to just this one directory (overriding the /.htaccess restrictions).

I've tried...

<Files *>
allow from all
</Files>

But it still seems to apply the parent's .htaccess file

Thanks,
J

    Well, I'm pretty sure you can't do that directly as the system has to traverse the directory structure DOWN to the subdir, ie through the password protected directory first. A mod rewrite or a redirect might be able to bypass that though.

      I don't know how to explicitly allow anonymous users in; but one option is to use "Satisfy Any", which means they get let in even without valid authentication if they pass the IP address checks (which can be of course, be "Allow from all").

      Mark

        Thanks guys. I will give both a try.

        Jeff

          Write a Reply...