iN ARTICLE <1160518963.572660.204740@i42g2000cwa.googlegroups .com>,
"Johann Gile" <jgile_linux@yahoo.de> writes:
> Hello,
>
> I have a problem with MultiViews and rewriting, after a change in the
> file naming scheme I would like to enforce a certain clean URL form
> without filename extensions in the form of /foo, /bar or /bar.en or
> /bar.de instead of foo.html, bar.en.html, bar.de.html. To be precise I
> want the following external redirects:
>
> foo.html -> /foo
> bar.html -> /bar (and then content negotiation should determine if the
> de or en variant is delivered)
Forget mod_rewrite. mod_negotiation will select the right variant for
you, regardless of whether the ".html" appears in the URLs.
See the documentation, and also the (multilingual) Apache manual itself.
--
Nick Kew
Application Development with Apache - the Apache Modules Book
http://www.prenhallprofessional.com/title/0132409674