[users@httpd] setting prefer-language as part of a rewritecond

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

 



I'm trying to set the environment variable 'prefer-language' as part of a RewriteCond -
according to the rewritelog it works fine:

... setting env variable 'prefer-language' to 'da'

What isn't working is - setting this variable has no effect on the language negotiation -
which I believe it should have.  

from .htaccess:

RewriteEngine on
RewriteCond  %{REQUEST_URI} ^/([a-z][a-z])(/.*)$  [nc]
RewriteRule  ^  %2   [env=prefer-language:%1]


What am I doing wrong here?



/Per Jessen, Zürich



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux