Hi All
I have an issue where i set up htaccess on a folder ona virtual server i'm hosting. i'll use the following as the example. lets say the root directory for the virtual server is /home/user/htdocs/
in that directory there is a frequent_foto folder. this is not to be password protected but it is. inside frequent_foto is a folder called members which is password protected and works a treat. but what happens is when you access
http://virtualsite.com/freequent_foto/members you get prompted for a password, thats what i want. but say i go to
http://virtualsite.com/freequent_foto it then turns around asking for a password and it shouldn't.
the config files are below. any help would be great.
.htaccess
AuthUserFile /home/user/htdocs/frequent_foto/members/.htpasswd
AuthName "Authentication Required"
AuthGroupFile /home/user/htdocs/frequent_foto/members/.htgroup
AuthType basic
require group fletchers
.htgroup
fletchers: member
.htpasswd
member:RKWrUeZDkltRY
htaccess works fine on the webserver as other virtual servers use it and no problems are encountered.
the only change i made to httpd.conf is as follows.
<Directory />
Options SymLinksIfOwnerMatch
AllowOverride None
</Directory>
<Directory "/home/user/htdocs/frequent_foto/members">
AllowOverride AuthConfig
Options Indexes FollowSymLinks Includes
Order allow,deny
Allow from all
</Directory>