Filename containing French characters ?

Frank Bonnet f.bonnet at esiee.fr
Tue May 24 08:28:04 UTC 2011


On 05/24/2011 10:01 AM, Robert Bonomi wrote:
>>  From owner-freebsd-questions at freebsd.org  Tue May 24 02:32:36 2011
>> Date: Tue, 24 May 2011 09:32:20 +0200
>> From: Frank Bonnet<f.bonnet at esiee.fr>
>> To: freebsd-questions at freebsd.org
>> Subject: Re: Filename containing French characters ?
>>
>> OK now the filenames are well displayed in the console
>> \BUT ...
>>
>> It still does not work with apache ( 404 file not found ! )
>>
>> here is the log of apache when trying to access a filename that contains
>> those bloody characters
>>
>>
>>
>> 82.238.8.126 - - [24/May/2011:06:56:01 +0200] "GET
>> /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA_Anthony
>> %20Aim%C3%A9e%20Marthe%20Moteh.docx HTTP/1.1" 404 1337
>>
>> The problem comes from the %C3%A9e character ( e eacute )
> Please show the output of
>    ls -lb /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA*


ls -lb 11_EM1_SI_AMI*
ls: No match


> and
>   ls -lb /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA* \
>   |" od -xc
ls -lb 
/cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA* | od -xl
ls: No match.

ls -lb in the directory give that :

-rw-r--r--  1 www-data  www-data   18294 24 mai 03:00 
11_EM2_SI_JUIN_CV_AMICHIA_Anthony Aim\351e Marthe Moteh.docx

but wildcards fails as you can see in preceding lines.

> And, also with {DOCROOT} (whatever it is) prepended to the paths shown above.

DOCROOT is OK all files that does not contains accentuated characters
are well opened and displayed in web pages.

> *AlSO* show your apache configuration file -- especially what 'DOCROOT' is.
>
> Lastly, do you have _any_ path-rewriting rules that might result in a
> different _actual_ path than the 'requested' one?  Virtually =every- Apache
> installation has at least one such rewrite rule.
>

no rewriting rules a all

> Please show _all_ such rules/transformations.
>
>
>


-- 

Frank BONNET

01.45.92.66.17

Service des Moyens Informatiques Generaux

ESIEE PARIS
Cité Descartes / BP 99
93162 NOISY-LE-GRAND Cedex
http://www.esiee.fr <http://www.esiee.fr/>



More information about the freebsd-questions mailing list