From owner-freebsd-apache@FreeBSD.ORG Fri May 20 09:41:14 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 13BA31065676 for ; Fri, 20 May 2011 09:41:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id CA8AA8FC18 for ; Fri, 20 May 2011 09:41:13 +0000 (UTC) Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta12.westchester.pa.mail.comcast.net with comcast id llTy1g0021ZXKqc5ClTy2e; Fri, 20 May 2011 09:27:58 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta21.westchester.pa.mail.comcast.net with comcast id llTx1g00C1t3BNj3hlTx8A; Fri, 20 May 2011 09:27:58 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id F07B3102C19; Fri, 20 May 2011 02:27:55 -0700 (PDT) Date: Fri, 20 May 2011 02:27:55 -0700 From: Jeremy Chadwick To: Frank Bonnet Message-ID: <20110520092755.GA18041@icarus.home.lan> References: <4DD624E4.5000408@esiee.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DD624E4.5000408@esiee.fr> User-Agent: Mutt/1.5.21 (2010-09-15) 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:41:14 -0000 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? 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 technical 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 -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |