Solved

Error_Log: maximum number of internal redirects reached

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

786 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