You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jason Johnson <ja...@period-three.com> on 2005/01/28 17:07:54 UTC

[users@httpd] mod_rewrite Odd Behavior

I have exhausted all of the suggested options in the "Before You Ask" 
section except examining the source code, because I don't think the 
problem I'm experiencing exists on that level.

I am moving a site from a box running Apache1 on OpenBSD 3.5 to one 
running Apache2 on Fedora Core 2. The site makes heavy use of 
mod_rewrite, and when I move the rules to the new machine, all goes 
haywire.

My directives for mod_rewrite are as follows:

----------------
RewriteEngine On

RewriteRule ^/manage/(.*)$ /manage.php [L]
RewriteRule ^/(.*)$ /index.php?r=$1 [L]
----------------

These conditions worked fine on the old box. Now the last condition 
seems to spin mod_rewrite into an endless internal redirect, as if 
completely ignoring the fact that it is to stop after matching once due 
to the [L] option.

Any suggestions? Need more information?

Thanks in advance,
Jason Johnson


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org