I would like to realize it with Multiviews (Apache).
climbtothestars.org/archives/2007/12/28/...ion-and-redirection/
A simpler solution [Added 29.12.2007]
For each language, create a file named index.php.lg where “lg” is the language code. For French, you would create index.php.fr with the following content:
<?php
header("Location: /fr");
?>
Repeat for each language available.
Do not put an index.php file in your root directory, just the index.php.lg files.
Add the two following lines to your .htaccess:
Options +Multiviews
ErrorDocument 406 /fr/
…assuming French is the default language you want your site to show up in if your visitor’s browser doesn’t accept any of the languages you provide your site in.
How can I use this with JMS?
Thanks, greetings
k.