Development htpasswd question

Discussion in 'Software' started by jezmck, 2 Sep 2007.

  1. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    I have _finally_ got round to trying out Dynamic DNS so I can host stuff on my own machine.
    For now I want to only give myself access, so thought I'd use basic .htaccess / .htpasswd authorisation.
    (I am planning on setting up a separate server machine)

    I'm using XAMPP, and have C:\EclipseWorkspace as the DocumentRoot.

    Now if I have
    then it's actually that 'jOPT...' string which works as the password, instead of what that's a hash of.

    and
    lets me login with username/password!

    Can anyone tell me what I'm doing wrong here?
     
  2. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    bump?
     
  3. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    Try putting the path to the htpasswd file in quotes and removing the double slashes. I've had this before using windows - it's flakey. I also think I had to use a full MD5 hash of the password rather than the little crypty thing that you're using :)
     
  4. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    I did have the double quotes at one point, but I think it finds the file okay (since if I move it a get a different error).
    I will try a md5 hash.
    Cheers RTT.

    PS - Cheesecake.
     

Share This Page