|P is for Practical|
Re^2: Digest Authentication encoding issueby Nik
|on Mar 21, 2008 at 13:38 UTC||Need Help??|
Very good idea i have googled for that to find out what encoding apache wants the passwords to be but i didnt find any relevant info
So you are saying that inside my perl script iam currently creating the passwords as utf-8 but apache expect a different character set?
But hold on....by seeign the following code how can i be sure the password file being created will stored contents in utf-8 format?
Is it because the init.pl scripts has this line print header( -charset=>'utf-8' ); means that every text and every file created by init.pl will be stored as utf-8 too?
UPDATE: BASED on http://people.apache.org/~drtr/charsets.html i beleive apache expects them only in ISO 8859-1 if i understood the site correctly but please check it too.
Based on that assumption i did try this:
The idea is to force the contents of the newly created file that contains the passwords that Apache checks to be stored as latin1-iso, but unfortunately that didnt work either.
Now that i think of it my realm contains greek chars and i tell perl to store them in the passowrd file as latin1-iso, but thats impossible right? Either that is the problem now or the apache doesnt excpect the encoding toi be iso-8859-1
I really did my best to solve this problem so now i deserve to hear from you.