Solved

Error_Log: maximum number of internal redirects reached

Posted on 2007-11-15
5
502 Views
Last Modified: 2012-06-21
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?
0
Comment
Question by:alex_wareing
  • 3
  • 2
5 Comments
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
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).
0
 

Author Comment

by:alex_wareing
Comment Utility
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.
0
 

Author Comment

by:alex_wareing
Comment Utility
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.
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
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.
0
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
Comment Utility
O.K.,  there is a rewritelog directive:

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#RewriteLog

This will put the rewrite stuff into a log.  There is also a rewriteloglevel, you should read about turning on rewrite logging, as it will SLOW your server down.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now