Link to home
Start Free TrialLog in
Avatar of alex_wareing
alex_wareing

asked on

Error_Log: maximum number of internal redirects reached

In my error_log i keep getting the error message:
mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if necessary.

Does anyone know what will cause this? It seems to take the site down briefly, how can i get more information on what is causing this error?
Avatar of giltjr
giltjr
Flag of United States of America image

Are you using rewrites?  This typically indicates that you have a bad rewrite statement and you are processing the same request multiple times (loop) more that "x" times (I think 10 is the default).
Avatar of alex_wareing
alex_wareing

ASKER

Yes i am using rewrites. I have uploaded a copy of my .htaccess here:
http://dropbox.aiwmedia.com/htaccess.txt

I had a look and i couldn't see anything wrong, however i am no expert and i didn't write the rewrite rules.
What technique could i use to trap the error? Is there any way to find out the referring URL as its not listed in the error log.
I am not sure, that set of rewrites is more complex than I am used to looking at.  Generally I only use a one or two, maybe up to 4 simple conditions.  I'm not sure I understand it enough to figure it out.

I will have to check, there is a way to get this into the logs, but I can't remember off hand.
ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial