Hi,
I am new to web design and Apache, but have managed to password protect my site by putting a .htaccess file in the sites root directory.
I have set it up so that a number of members have access to the site.
Now, within the site I have a link to a "document" folder which I only want 2 or 3 members to have access to. I have created a second .htaccess & .ht passwd file, with the path to the new folder and a different password. This was placed in the "document" folder.
However, I can log into the site with no problems, but when I click on the link to the "document" folder, I am presented with the password screen. The problem is that the password will not work. Neither will the password for the .htaccess file in the root directory!!
Am I missing something?? Is it possible to place a .htaccess file on a folder that is already protected by a .htaccess file in the root? If so how can I get around this.
Thanks in advance.....