.htaccess authenticate root directory, but disable authentication for some sub-directories
27 views
Skip to first unread message
homehealth
unread,
Jun 18, 2008, 4:55:30 PM6/18/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to .htaccess
I am not very familiar with configuring .htaccess.
But I am able to setup Basic authentication by placing the .htaccess
file at the root level of a web site.
There are about 18 root level directories that need to be
authenticated using this .htaccess file.
However, we have 2 directories that need to be accessed directly
without authentication. I've tried using mulitple <Files> directives
which didn't result in much and the <Directory> directive which was
'not allowed here' according to the server log.