httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: [users@httpd] LimitInternalRecursion
Date Tue, 11 Dec 2007 03:11:43 GMT
On Dec 10, 2007 4:29 PM, Chris Arnold <carnold@electrichendrix.com> wrote:
> On Dec 10, 2007 3:34 PM, Chris Arnold <carnold@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


Mime
View raw message