Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Request exceeded the limit of 10 internal redirects

Posted on 2008-10-07
1
Medium Priority
?
2,725 Views
Last Modified: 2012-05-05
My Apache logs are showing the following error:

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

I suspect this has something to do with my .htaccess in WordPress MU 1.2.3 - this page probably indicates exactly what is happening: http://www.linuxquestions.org/questions/linux-general-1/apache-request-exceeded-the-limit-of-10-internal-redirects-282381/

I'm not sure quite how to fix the .htaccess to prevent this from happening.  Can anyone help?

RewriteEngine On
RewriteBase /
 
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
 
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
 
#redirect home page to latest blog posts
RedirectMatch ^/$ http://www.weber.k12.ut.us/index.php?page=district-blogs

Open in new window

0
Comment
Question by:akorkishko
1 Comment
 
LVL 27

Accepted Solution

by:
caterham_www earned 750 total points
ID: 22665008
> Use 'LogLevel debug' to get a backtrace.

Did you try that? You may setup a RewriteLog in httpd.conf as well

RewriteLog logs/rewrite.log
RewriteLoglevel 5
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

971 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