[opencms-dev] Apache settings to redirect user to language subfolder based on HTTP ACCEPT-LANGUAGE
Robert Soesemann
Robert.Soesemann at interone.de
Fri Sep 12 16:08:20 CEST 2008
Hy,
somebody must have solved the challenge I encounter in my current project.
I have a OpenCms based website, which is completelly exported static to an
Apache2 webserver. Although most users come to the site via
www.mysite.com, we want to redirect them transparently to their languages
xy subfolder www.mysite.com/xy/
I heard about "rewrite rules are not able to do this, but content
negotiation could", but just cannot make sense out of the tutorials. That
is because all of them speak of files that have a language thing in it.
eg. index.de.html. But I need folder redirects.
Can anybody provide a real word code example on how I could do that?
Looking forward..
Cheers
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080912/d03283d6/attachment.htm>
More information about the opencms-dev
mailing list