[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-users
Subject: [users@httpd] Serving UTF-8 filenames under Linux
From: anatoly techtonik <techtonik () gmail ! com>
Date: 2007-10-31 9:23:41
Message-ID: loom.20071031T090731-385 () post ! gmane ! org
[Download RAW message or body]
Where are setting for filename encoding used by Apache httpd to find files with
international symbols in their names?
I need to serve files named in russian. I've successfully setup Tomcat to do
this using UTF-8 encoding, but static resources are given out by Apache httpd on
production server. Apache receives UTF-8 russian letters as two-byte sequences
correctly as it's seen in access logs, but fails with 404 to find them on disk.
Under windows it helped to rename files into native windows-1251 encoding, but
what can I do on Linux box with the following 'locale' configuration?
$ locale
LANG=en_US
LANGUAGE=en_RU:en_US:en_GB:en
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
$ locale -a
C
en_US
en_US.iso88591
POSIX
ru_RU
ru_RU.cp1251
I've tried to rename files in different encoding with no effect. Ideally I would
like to make Apache threat all filenames as UTF-8 Are there any settings? The
version of httpd is unknown, but seems to be latest from 1.3.x branch.
---------------------------------------------------------------------
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic