Date: Fri, 20 May 2011 02:27:55 -0700 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Frank Bonnet <f.bonnet@esiee.fr> Cc: freebsd-apache@freebsd.org Subject: Re: Where to define HTTP_ACCEPT_LANGUAGE=fr-fr ??? Message-ID: <20110520092755.GA18041@icarus.home.lan> In-Reply-To: <4DD624E4.5000408@esiee.fr> References: <4DD624E4.5000408@esiee.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110520092755.GA18041>