You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Droska, Hans-Peter" <Ha...@stinnes-data.de> on 2005/08/04 17:56:56 UTC

[users@httpd] htaccess-Files in UTF-8!?

Hi!

We have a problem with our htaccess-Files since we have changed our charset
to UTF-8.
Our Apache shows the HTML-Pages perfect but if I try to access a restricted
area, the popup with username and password show the text in "AuthName" in
ISO8859-1.
If I covert the htaccess-File with "iconv -f UTF-8 -t ISO8859-1 -o .htaccess
.htaccess" everything looks pretty fine.
So, what do we have to do that the Apache show the Password-Request also in
UTF-8 instead of ISO8859-1??

Thanks,
Hans-Peter


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] htaccess-Files in UTF-8!?

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Sniff the request with netcat or telnet, attempting to

GET /file.html HTTP/1.1
Host: www.example.com

presuming file.html is protected, see what comes back.  Do you have your
global utf8 charset set up, or set up to use utf8 for at least your 401
error document?

If the content-type; ...; charset= is not utf8, that's your issue.  If
it is, I'm afraid Craig is right - it's an issue in the browser.

Bill

Droska, Hans-Peter wrote:
> Hi!
> 
> We have a problem with our htaccess-Files since we have changed our charset
> to UTF-8.
> Our Apache shows the HTML-Pages perfect but if I try to access a restricted
> area, the popup with username and password show the text in "AuthName" in
> ISO8859-1.
> If I covert the htaccess-File with "iconv -f UTF-8 -t ISO8859-1 -o .htaccess
> .htaccess" everything looks pretty fine.
> So, what do we have to do that the Apache show the Password-Request also in
> UTF-8 instead of ISO8859-1??
> 
> Thanks,
> Hans-Peter
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> .
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] htaccess-Files in UTF-8!?

Posted by Craig Dunigan <cd...@doit.wisc.edu>.
On Thu, 4 Aug 2005, Droska, Hans-Peter wrote:

> Hi!
> 
> We have a problem with our htaccess-Files since we have changed our charset
> to UTF-8.
> Our Apache shows the HTML-Pages perfect but if I try to access a restricted
> area, the popup with username and password show the text in "AuthName" in
> ISO8859-1.
> If I covert the htaccess-File with "iconv -f UTF-8 -t ISO8859-1 -o .htaccess
> .htaccess" everything looks pretty fine.
> So, what do we have to do that the Apache show the Password-Request also in
> UTF-8 instead of ISO8859-1??
> 
> Thanks,
> Hans-Peter
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

I was under the impression that the browser controls the contents of 
that dialog box.  Apache simply returns a 401, then the browser 
decides how to handle it.

-- 
Craig Dunigan
IS Technical Services Specialist (I don't know what it means, either)
Middleware - Enterprise Info Systems - Department of Info Technology
University of Wisconsin, Madison

opinions expressed are my own, not the University's


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org