You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chris Arnold <ca...@electrichendrix.com> on 2007/12/10 21:34:17 UTC

[users@httpd] LimitInternalRecursion

In apache 2.2.3 on linux, i am getting a boat load of;

[Fri Nov 30 16:06:14 2007] [error] [client x] 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.

In what file is LimitInternalRecursio found? I have searched through
httpd.conf, default-server.conf and global.conf. Or what is the proper
way to fix this error?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] LimitInternalRecursion

Posted by Chris Arnold <ca...@electrichendrix.com>.
On Dec 10, 2007 4:29 PM, Chris Arnold <ca...@electrichendrix.com> wrote:
> On Dec 10, 2007 3:34 PM, Chris Arnold <ca...@electrichendrix.com> wrote:
> > In apache 2.2.3 on linux, i am getting a boat load of;
> >
> > [Fri Nov 30 16:06:14 2007] [error] [client x] 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.
> >
>
>
> But the most likely explanation for this message is that you have a
> loop someplace that needs to be fixed. Perhaps you have a RewriteRule
> or SSI page that is generating an infinite loop.
>
> The htaccess is what was returned when i goolgled this....Here is my htaccess:
> 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]

Use the RewriteLog (which must be placed in a main config file, not
.htaccess) to see where it is looping.


Humm, i think i should give our web structure;
/srv/www/htdocs/vhosts/vhostname.
In order to get a wordpress site working, i had to put that WP htaccess file in /srv/www/htdocs/.
According to the rewrite_log:
64.158.138.9 - - [10/Dec/2007:21:48:39 --0500] [www.mytimewithgod.net/sid#801ba338][rid#8029d588/initial] (1) [perdir /srv/www/htdocs/] internal redirect with /index.php [INTERNAL REDIRECT]
64.158.138.9 - - [10/Dec/2007:21:48:39 --0500] [www.mytimewithgod.net/sid#801ba338][rid#80392a08/initial/redir#1] (1) [perdir /srv/www/htdocs/] pass through /srv/www/htdocs/vhosts/vhostname/index.php
193.252.149.15 - - [10/Dec/2007:21:50:28 --0500] [www.mytimewithgod.net/sid#801ba338][rid#8029d588/initial] (1) [perdir /srv/www/htdocs/] internal redirect with /index.php [INTERNAL REDIRECT]
193.252.149.15 - - [10/Dec/2007:21:50:28 --0500] [www.mytimewithgod.net/sid#801ba338][rid#802a35f8/initial/redir#1] (1) [perdir /srv/www/htdocs/] pass through /srv/www/htdocs/vhosts/vhostname/index.php
193.252.149.15 - - [10/Dec/2007:21:50:41 --0500] [www.mytimewithgod.net/sid#801ba338][rid#80aaae10/initial] (1) [perdir /srv/www/htdocs/] pass through /srv/www/htdocs/vhosts/vhostnme/index.php
74.220.207.81 - - [10/Dec/2007:21:54:02 --0500] [www.mytimewithgod.net/sid#801ba338][rid#802c7d98/initial] (1) [perdir /srv/www/htdocs/] internal redirect with /index.php [INTERNAL REDIRECT]
74.220.207.81 - - [10/Dec/2007:21:54:02 --0500] [www.mytimewithgod.net/sid#801ba338][rid#802a5788/initial/redir#1] (1) [perdir /srv/www/htdocs/] pass through /srv/www/htdocs/vhosts/vhostname/index.php

it looks like the redirect is coming from index.php, which is in /srv/www/htdocs/vhosts/vhostname and its htaccess is in /srv/www/htdocs/. Or does it have nothing to do with that and has to do with index.php? A little lost as what to do or look at.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] LimitInternalRecursion

Posted by Joshua Slive <jo...@slive.ca>.
On Dec 10, 2007 4:29 PM, Chris Arnold <ca...@electrichendrix.com> wrote:
> On Dec 10, 2007 3:34 PM, Chris Arnold <ca...@electrichendrix.com> wrote:
> > In apache 2.2.3 on linux, i am getting a boat load of;
> >
> > [Fri Nov 30 16:06:14 2007] [error] [client x] 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.
> >
>
>
> But the most likely explanation for this message is that you have a
> loop someplace that needs to be fixed. Perhaps you have a RewriteRule
> or SSI page that is generating an infinite loop.
>
> The htaccess is what was returned when i goolgled this....Here is my htaccess:
> 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]

Use the RewriteLog (which must be placed in a main config file, not
.htaccess) to see where it is looping.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] LimitInternalRecursion

Posted by Chris Arnold <ca...@electrichendrix.com>.
On Dec 10, 2007 3:34 PM, Chris Arnold <ca...@electrichendrix.com> wrote:
> In apache 2.2.3 on linux, i am getting a boat load of;
>
> [Fri Nov 30 16:06:14 2007] [error] [client x] 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.
>


But the most likely explanation for this message is that you have a
loop someplace that needs to be fixed. Perhaps you have a RewriteRule
or SSI page that is generating an infinite loop.

The htaccess is what was returned when i goolgled this....Here is my htaccess:
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]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] LimitInternalRecursion

Posted by Joshua Slive <jo...@slive.ca>.
On Dec 10, 2007 3:34 PM, Chris Arnold <ca...@electrichendrix.com> wrote:
> In apache 2.2.3 on linux, i am getting a boat load of;
>
> [Fri Nov 30 16:06:14 2007] [error] [client x] 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.
>
> In what file is LimitInternalRecursio found? I have searched through
> httpd.conf, default-server.conf and global.conf. Or what is the proper
> way to fix this error?

You can put it in any config file that is "Include"d in httpd.conf (or
in httpd.conf directly).

But the most likely explanation for this message is that you have a
loop someplace that needs to be fixed. Perhaps you have a RewriteRule
or SSI page that is generating an infinite loop.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org