Newb: Desperately need help to password protect a directory

Discussion in 'Installation/Configuration' started by smartin, Feb 1, 2010.

  1. yoplait

    yoplait Member

    And what about the rights on the password file ?
    Try 777, maybe it would help ?

    Sorry, I'm in France ;) .
     
  2. smartin

    smartin New Member

    Yoplait,

    I *really* thought you had the solution there but no...

    I did:
    Code:
    sudo chmod 777 digest
    
    on the password file (It's owned by root...)

    I also did:
    Code:
    sudo chown www-data .htaccess
    sudo chmod 777 .htaccess
    
    I still get represented with the login dialogue.

    Same error: Digest: user `myname' in realm `Private' not found:

    Crazy...

    S
     
  3. yoplait

    yoplait Member

    Ok, call back your exorcist, I think we are touching the deepest solutions :p .

    I don't know, maybe your apache doesn't accept digest ? is there an option for this ?
    (come on, an other try ^^ ! )
     
  4. smartin

    smartin New Member

    I was out of ideas quite a while ago... :eek:

    The modules are definitely activated...

    I'm depressed... and out of ideas...:(

    S
     
  5. capt.fodder

    capt.fodder New Member

    This may not be it, but I noticed you have your domain listed as "Private" in your config but when you show your command-line to create the user it is "private" with a lower-case "p". Could this be it?
     
  6. smartin

    smartin New Member

    Capt,

    Yes! Yes! YES!:D

    Unbelievable! Thank You!

    Really appreciate your help :)

    I'll write this up properly and put it in the first post this evening. Please will you proof-read it for me ;-)

    S
     
  7. smartin

    smartin New Member

    security?

    One last thing... :)

    My browser is telling me that 'your password will be sent unencrypted'.

    I'm guessing this is usual as I'm not using https but given that this is the case, is Digest authentication really any better than Basic authentication?

    S
     
  8. BriX

    BriX New Member

    Digest vs Basic authentication comparison

    Digest authentication is more secure than basic authentication. Its no SSL though :)

    You can read about advantages and disadvantages of digest authentication here or basic authentication here
     

Share This Page