[CentOS] Apache configuration: minor problem with special characters

Niki Kovacs

contact at kikinovak.net
Sat Sep 19 08:05:44 UTC 2009


Hi,

I'm currently fiddling with protecting sections of a website with 
.htaccess. Here's an example:

<Files .htaccess>
   order allow,deny
   deny from all
</Files>

AuthUserFile /etc/httpd/htpasswd
AuthName "L'accès à ce site est restreint."
AuthType Basic

require valid-user

The configuration works OK (after having created a valid user), but 
unfortunately, the message in the infobox that pops up on the site 
displays the french characters é and à incorrectly.

Any idea how I could get this right? I'm more or less starting out from 
Apache's default httpd.conf.

Cheers,

Niki



More information about the CentOS mailing list