htaccess infinity log in

Discussion in 'Apache' started by DesertBoyOfSun, Aug 16, 2008.

  1. #1
    Hi to all, I've still created a .htaccess file and a .htpasswd file to let Apache to "select" only the authorized users to visits my private root. But I have a big problem...when i try to access to the root the browser shows me a mask where insert username and password. I insert it but it ask me a infinity loggin. Why???

    In the configuration Apache file I setted AllowOverride All, and i've cripted the password in the .htpasswd file.

    I need help, very quicly please...I'm going to crazyyyyyyy! :p

    (i'am italian, so sorry in english is not all correct!)
    Thanks for reading (and i Hope answering too) :D
     
    DesertBoyOfSun, Aug 16, 2008 IP
  2. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #2
    you are using bad password? Are you sure you have crypted it correctly? Are you sure your username does not contain any CAPS letters? Or password? Note that it does make a difference on a linux server if some letter is CAPS or lower case.
     
    pr0t0n, Aug 16, 2008 IP
  3. DesertBoyOfSun

    DesertBoyOfSun Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I used a web appllication to encrpt the password. the username is "admin". all the letter (passoword too) are lowcase... i really don't know the matter......
     
    DesertBoyOfSun, Aug 16, 2008 IP
  4. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #4
    and your .htaccess is correct? maybe you could paste it here... maybe paste 2-3 lines from your .htpasswd (with password field marked of course)? Makr sure your path to .htpasswd in your .htaccess file is correct. Incorect path to .htpasswd file may result in that unauthorized loop.
     
    pr0t0n, Aug 18, 2008 IP