Re: [EMAIL PROTECTED] 301 redirect looping with mod_rewrite

2007-05-17 Thread Sander Marechal
Joshua Slive wrote: > On 5/17/07, Sander Marechal <[EMAIL PROTECTED]> wrote: > >> >> > Your problem is that the results of (4) are getting reinjected to >> > mod_rewrite for processing, and will then obviously match (1) and (2). >> >> I figured

Re: [EMAIL PROTECTED] 301 redirect looping with mod_rewrite

2007-05-17 Thread Sander Marechal
Joshua Slive wrote: > On 5/17/07, Sander Marechal <[EMAIL PROTECTED]> wrote: > >> (1) RewriteCond %{query_string} t=([a-z]+) >> (2) RewriteRule ^index.php$ /page/%1/? [r=301,l] >> >> The next rule makes sure that the pretty URLs all end in a slash. It >

[EMAIL PROTECTED] 301 redirect looping with mod_rewrite

2007-05-17 Thread Sander Marechal
en rule 4 turns the pretty URL back into an old URL, the rewriting is done. Unless I completely misunderstand mod_rewrite and for some reason the rules are parsed *again* after rule 4 has been applied... Any help would be greatly appreciated. Kind