I've seen this sort of problem a lot while searching forums for it, but I've yet to find a solution to the problem I'm having that works for me.
Here are the facts:
I have an .htaccess file in a directory I want to share only with friends. Thus the password protection.
I read somewhere about the chroot problem. I moved the .htpasswd file into one of the cgi-bin directories (which I didn't want to do at all) and that worked.
Now, my question is, is there a better way? I guess having Apache chroot'ed is a good idea, but it doesn't sound safe to me to have the .htpasswd files within the web site's DirectoryRoot.
I do have to leave the permissions at 644 for the .htpasswd files, and the directories above it should be 775, correct?
If anyone has any advice I would appreciate it.
Dale
Here are the facts:
I have an .htaccess file in a directory I want to share only with friends. Thus the password protection.
I read somewhere about the chroot problem. I moved the .htpasswd file into one of the cgi-bin directories (which I didn't want to do at all) and that worked.
Now, my question is, is there a better way? I guess having Apache chroot'ed is a good idea, but it doesn't sound safe to me to have the .htpasswd files within the web site's DirectoryRoot.
I do have to leave the permissions at 644 for the .htpasswd files, and the directories above it should be 775, correct?
If anyone has any advice I would appreciate it.
Dale