From owner-freebsd-questions@FreeBSD.ORG Tue May 24 08:28:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15C1C106566C for ; Tue, 24 May 2011 08:28:04 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id B406D8FC15 for ; Tue, 24 May 2011 08:28:03 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 67AED14E9492; Tue, 24 May 2011 10:27:38 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.3.2 hp9.esiee.fr 67AED14E9492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1306225658; bh=sSbfAdXJeLbhLtQ0WAMEjRBw58NT5DDbwIxFTnzjGm0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=ZKOc3CD6GD3cXg+yP3x+u9o2Fei5QbZNZtsG55Wf3lqOpGb3jh1sKN96N+fx2QDTx JQd3t9n9xtXYVtcpDSn/2MEviLDIa/zq8rMDzJFnxTl91R/iRaWrJP1aJlm2/DA+S9 5UbO383+GEhyQ94AhGt+j7kg64oG7KDshWvBhCn4= Received: from mail (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 85F631054421; Tue, 24 May 2011 10:28:02 +0200 (CEST) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 77A631054418; Tue, 24 May 2011 10:28:02 +0200 (CEST) Message-ID: <4DDB6C12.90609@esiee.fr> Date: Tue, 24 May 2011 10:28:02 +0200 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: Robert Bonomi References: <201105240801.p4O81NgP036066@mail.r-bonomi.com> In-Reply-To: <201105240801.p4O81NgP036066@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Filename containing French characters ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2011 08:28:04 -0000 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 >> 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