Solved

Error_Log: maximum number of internal redirects reached

Posted on 2007-11-15
5
511 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

679 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