I have a htaccess/htpasswd protecting my root directory i.e. public_html/
What I want is to have a subdirectory excluded from this authentication, i.e. public_html/test - everyone should be able to connect without typing in any password.
I found this thread http://www.webmasterworld.com/forum92/1137.htm but when I access the subdomain test.mydomain.com (which is really public_html/test) it still asks me the password for the root password.
Any ideas? Here is what I have in my htaccess (root)
SetEnvIf Host "^(www\.)?test\.mydomain\.com" openhost
AuthType Basic
AuthName Testing
AuthUserFile /home/mydomain/public_html/.htpasswd
Satisfy any
Require user user1
Order allow,deny
Allow from openhost
PS. Just got reply from Bluehost that this is impossible?
What I want is to have a subdirectory excluded from this authentication, i.e. public_html/test - everyone should be able to connect without typing in any password.
I found this thread http://www.webmasterworld.com/forum92/1137.htm but when I access the subdomain test.mydomain.com (which is really public_html/test) it still asks me the password for the root password.
Any ideas? Here is what I have in my htaccess (root)
SetEnvIf Host "^(www\.)?test\.mydomain\.com" openhost
AuthType Basic
AuthName Testing
AuthUserFile /home/mydomain/public_html/.htpasswd
Satisfy any
Require user user1
Order allow,deny
Allow from openhost
PS. Just got reply from Bluehost that this is impossible?
