Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] Avoid endless loop of mod_rewrite

Michael Menegakis

2010-03-08

Replies: Find Java Web Hosting

Author LoginPost Reply
On Mon, Mar 8, 2010 at 7:51 AM, Igor Cicimov <icicimov@(protected):
> Try using the following to stop the endless loops:
>
> RewriteCond %{ENV:REDIRECT_STATUS} 200
> RewriteRule .* - [L]

It doesn't stop looping if it's put before the rule, after the rule or
even if it's both after and before the rule.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.