Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: Digest Authentication encoding issue

by Nik
on Mar 19, 2008 at 13:27 UTC ( #674993=note: print w/replies, xml ) Need Help??

in reply to Re: Digest Authentication encoding issue
in thread Digest Authentication encoding issue

Here is what i my attempt to do the same thing through a cgi perl script using the Digest::MD5 module
open FILE, ">>$ENV{'DOCUMENT_ROOT'}/some_path/some_other_path/some_pas +s_file" or die $!; print FILE "webmaster:Δημιουρ&#9 +47;ία Βάσης Δεδ&#95 +9;μένων!:" .Digest::MD5::md5_hex("a +dmin:Δημιουργία &#9 +14;άσης Δεδομέ&#957 +;ων!:this_is_the_pass") ."\n"; close FILE;
But when it comes to authentication when i enter the credentials apache says there are wrong.
An encoding issue again? the file which the above code resides is encoded in 'UTF-8'.

Please suggest something else than hitting my head on the wall ;)

Replies are listed 'Best First'.
Re^3: Digest Authentication encoding issue
by Nik on Mar 20, 2008 at 21:48 UTC
    so please someone answer me, is this an encoding issue again?
    Why when the user gives the username and password at http authentication the credentials won't match the ones stored in the password file?
    What might be the problem? ?You think its encoding?
      so please someone answer me, is this an encoding issue again?

      I already told you what the problem is. Why do you persist in asking for help if you're going to ignore what people tell you and keep doing what obviously doesn't work?

        Di you see all of my posts?
        My realm is in greek text characters but when i post here in perlmonks it apperas as html entities, in the file its not at all like that.
        I'am not ignoring anything iam just hoping for an answer that works and i already tried many approaches to solve the problem. Comment on those.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://674993]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-03-19 07:45 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (236 votes). Check out past polls.