Afficher un message
Vieux 11/10/2006, 11h19   #3
Johann Gile
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problem with Apache MultiViews and Rewriting

Nick Kew schrieb:

> iN ARTICLE <1160518963.572660.204740@i42g2000cwa.googlegroups .com>,
> "Johann Gile" <jgile_linux@yahoo.de> writes:
> > /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.


well, this already works and is not the issue. However I want URLs with
a ".html" to be redirected with a 301 code as shown above. I just can't
get it to work without an infinite redirect loop beacuse of MultiViews.

  Réponse avec citation
 
Page generated in 0,05325 seconds with 9 queries