[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian.org insists I can read Finnish



On Mon, Jan 02, 2006 at 03:05:58PM +0100, Frans Pop wrote:
> > Can this be fixed?
> 
> Well it can, but not by us.

Actually, yes, it can be fixed:

- Upgrade www.d.o to Apache 2
- When changing language, do so via a small CGI script which sets a cookie
- Use the features of Apache >=2.0.51:
  SetEnvIf Cookie "language=([a-z][a-z])" prefer-language=$1

http://httpd.apache.org/docs/2.0/mod/mod_setenvif.html#setenvif

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  GnuPG key:
  | \/¯|  http://atterer.net  |  0x888354F7
  ¯ '` ¯



Reply to: