Date: Tue, 24 May 2011 10:28:02 +0200 From: Frank Bonnet <f.bonnet@esiee.fr> To: Robert Bonomi <bonomi@mail.r-bonomi.com> Cc: freebsd-questions@freebsd.org Subject: Re: Filename containing French characters ? Message-ID: <4DDB6C12.90609@esiee.fr> In-Reply-To: <201105240801.p4O81NgP036066@mail.r-bonomi.com> References: <201105240801.p4O81NgP036066@mail.r-bonomi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/24/2011 10:01 AM, Robert Bonomi wrote: >> From owner-freebsd-questions@freebsd.org Tue May 24 02:32:36 2011 >> Date: Tue, 24 May 2011 09:32:20 +0200 >> From: Frank Bonnet<f.bonnet@esiee.fr> >> To: freebsd-questions@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 contai= ns >> 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_Ant= hony >> %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_AM= ICHIA* ls -lb 11_EM1_SI_AMI* ls: No match > and > ls -lb /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMI= CHIA* \ > |" od -xc ls -lb=20 /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=20 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 =3Devery- = Apache > installation has at least one such rewrite rule. > no rewriting rules a all > Please show _all_ such rules/transformations. > > > --=20 Frank BONNET 01.45.92.66.17 Service des Moyens Informatiques Generaux ESIEE PARIS Cit=E9 Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr <http://www.esiee.fr/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DDB6C12.90609>