I have a problem setting up my apache server. Lets say I have a directory (lets call it "protect"), and inside this directory I have a subdirectory ("unprotect").
A problem arises when I want to password protect the directory "protect" whilst leaving the sub-directory "unprotect" unprotected.
I have both directories as I want them however when I go to the "unprotect" sub-directory in my web browser it asks for a password, however X-ing out of it does not create a 401 error (and it does in the protected main directory).
Can I have it so that it will not prompt for a password in the "unprotected" sub-directory?
04-19-2011, 02:11 PM
You cannot access the child folder without routing through the parent folder.
04-19-2011, 02:22 PM
So is it possible at all?
04-19-2011, 02:44 PM
I don't believe so as it is illogical.
04-23-2011, 09:50 AM
I had a similiar problem, I just started learning about apache a couple of days ago. I got it up and running in a half a day, but one of the problems was that even though I have no server side scripts to execute (I only send an html document with client side js scripts) apache wouldn't work unless I placed my site in a directory that would give all users read and execution permissions, and that directory could not be a subdirectory of one that you only had permissions to read.
Would it be safer to create a partition for the site itself?