From owner-freebsd-apache@FreeBSD.ORG Fri May 20 09:38:34 2011 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D841065670 for ; Fri, 20 May 2011 09:38:34 +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 53BEB8FC19 for ; Fri, 20 May 2011 09:38:34 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 94FBB14E9435; Fri, 20 May 2011 11:38:15 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.3.2 hp9.esiee.fr 94FBB14E9435 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1305884295; bh=GwReaVrZ60fllqBXUSAXc0YMyZ09ITQm7/v/XlOgYEw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=O9vBSB2/B/tHQCDfL427ST8LzcSsoiB7wMF2rC8rXNC7UG6r7i3Ztpd7Z20gIhIN9 Eq/a1sGzo+QqWHZAm9voBuTPZ5b90GlTfBVAc/1mWsVigXUJyXB46TxtNvYBq0/zlI Lv5ljzUFa9RaybaicduLmycfWgeaMxSiRrMyLvzQ= Received: from mail (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id D09FE105441E; Fri, 20 May 2011 11:38:32 +0200 (CEST) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id C1C9E105441D; Fri, 20 May 2011 11:38:32 +0200 (CEST) Message-ID: <4DD63698.3030907@esiee.fr> Date: Fri, 20 May 2011 11:38:32 +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: Jeremy Chadwick References: <4DD624E4.5000408@esiee.fr> <20110520092755.GA18041@icarus.home.lan> In-Reply-To: <20110520092755.GA18041@icarus.home.lan> 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-apache@freebsd.org Subject: Re: Where to define HTTP_ACCEPT_LANGUAGE=fr-fr ??? X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2011 09:38:35 -0000 On 05/20/2011 11:27 AM, Jeremy Chadwick wrote: > On Fri, May 20, 2011 at 10:23:00AM +0200, Frank Bonnet wrote: >> How and WHERE to define this variable in apache22 configuration ??? >> I need the web server to understand French characters in filenames > I haven't worked with this before, but what does "need the webserver to > understand French characters in filenames" mean exactly? More details > are needed, particularly technical ones. How is Apache "not working" > with French characters in filenames? Apache is working BUT if a filename contains a "french" character I get a 404 error from apache ( file not found) here is such error message xxx.xxx.xxx.xxx - - [20/May/2011:10:55:06 +0200] "GET=20 /cv/ESIEE_ENGINEERING/CV_electronique/11_EE_APP_FE_CV_CISSE_Kaliss%C3%A9.= docx=20 HTTP/1.1" 404 1221 in fact the file do exists -rw-r--r-- 1 www-data www-data 15494 20 mai 03:00=20 11_EE_APP_FE_CV_CISSE_Kaliss?.docx = ^^^^^ = here is the pro= blem > HTTP_ACCEPT_LANGUAGE is an environment variable, and therefore you > should probably look at the mod_env module (comes with Apache), but I > make no promises that it will solve your problem (because more technica= l > details are needed). > > http://httpd.apache.org/docs/current/mod/mod_env.html > > Alternately, given your need for multi-language support, I would > strongly recommend learning about mod_negotiation and MultiViews. Read > both documents: > > http://httpd.apache.org/docs/current/mod/mod_negotiation.html > http://httpd.apache.org/docs/current/content-negotiation.html > --=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