SPaReK
04-23-2002, 03:41 PM
Is there anyway to protect the root directory of a domain, but not its sub directories?
Example:
protect http://www.test.com
but not:
http://www.test.com/testing
I want to do this through the .htaccess file if possible, however the folllowing does not work:
<Directory /path/to/testing>
AuthUserFile /path/to/passwords
AuthGroupFile /dev/null
AuthName "Testing Stuff"
AuthType Basic
<Limit GET POST>
require user test
</Limit>
</Directory>
I seem to remember reading how this can be done, but can't remember. Any help would be appreciated.
Thanks
Example:
protect http://www.test.com
but not:
http://www.test.com/testing
I want to do this through the .htaccess file if possible, however the folllowing does not work:
<Directory /path/to/testing>
AuthUserFile /path/to/passwords
AuthGroupFile /dev/null
AuthName "Testing Stuff"
AuthType Basic
<Limit GET POST>
require user test
</Limit>
</Directory>
I seem to remember reading how this can be done, but can't remember. Any help would be appreciated.
Thanks
