Protection Problem

Discussion in 'Setting-up protection' started by cewncew, Mar 19, 2004.

  1. cewncew

    cewncew Guest

    I have one directory protected /secure, but when you go to the domain.com its asking for a login. Why is it protection the entire site instead of the directory I have setup through the protection?

    Chuck
  2. cewncew

    cewncew Guest

    Found it.

    I am using php include and it was calling a file from within the protected directory. I moved the include out of the protected folder and it works fine.
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  4. cewncew

    cewncew Guest

    Thanks

    Alex thanks for the reply, the problem was the index.php page was calling php includes from the protected directory. I moved the includes outside the protected directory and it works fine.

    Chuck

Share This Page