www.webdeveloper.com
Results 1 to 5 of 5

Thread: Apache

  1. #1
    Join Date
    Aug 2010
    Posts
    58

    Apache

    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?

  2. #2
    Join Date
    Apr 2011
    Location
    Missouri
    Posts
    83
    You cannot access the child folder without routing through the parent folder.

  3. #3
    Join Date
    Aug 2010
    Posts
    58
    So is it possible at all?

  4. #4
    Join Date
    Apr 2011
    Location
    Missouri
    Posts
    83
    I don't believe so as it is illogical.

  5. #5
    Join Date
    Mar 2011
    Posts
    81
    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles