redirect off site works, onsite loops

Corey Edwards tensai at zmonkey.org
Thu Mar 27 15:18:26 MDT 2008


On Thu, 2008-03-27 at 14:42 -0600, Wade Preston Shearer wrote:
> If I run…
> 
> RewriteCond %{REQUEST_URI} !^/en [NC]
> RewriteRule ^(.*)$ /en/$1 [R=301,NC,L,QSA]
> 
> 
> …I get an infinite loop error instead of…
> 
> http://example.com/en/this/that/the/other

Can you post us an example HTTP request and response?

Corey




More information about the PLUG mailing list