Solved

Error_Log: maximum number of internal redirects reached

Posted on 2007-11-15
5
515 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 20288733
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
ID: 20288814
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
ID: 20307492
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
ID: 20307621
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
ID: 20308993
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

632 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