Hello,
Our apache logs were full of error like:
[Sun Oct 30 17:59:18 2011] [error] [client 66.249.71.105] 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.
----
My hosting provider investigated further and found that this error is due to our vbulletin install. More specifically, as you can see below, the vbulletin .htaccess seems to be adding .php to requests containing blog.php.
Extracts from the rewrite log:
[09/Nov/2011:18:15:47 --0700] [forum.frenchfriends.info/sid#102cb830][rid#10492bb0/initial] (1) [perdir /home/french/public_html/forums/] internal redirect with /blog.php.php [INTERNAL REDIRECT]
[09/Nov/2011:18:15:47 --0700] [forum.frenchfriends.info/sid#102cb830][rid#10497630/initial/redir#1] (1) [perdir /home/french/public_html/forums/] internal redirect with /blog.php.php.php [INTERNAL REDIRECT]
[09/Nov/2011:18:15:47 --0700] [forum.frenchfriends.info/sid#102cb830][rid#104701b0/initial/redir#2] (1) [perdir /home/french/public_html/forums/] internal redirect with /blog.php.php.php.php [INTERNAL REDIRECT]
etc....
Here is a copy of our .htaccess:
-----
---------
Any help to stop these errors is welcome. Thanks!
Our apache logs were full of error like:
[Sun Oct 30 17:59:18 2011] [error] [client 66.249.71.105] 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.
----
My hosting provider investigated further and found that this error is due to our vbulletin install. More specifically, as you can see below, the vbulletin .htaccess seems to be adding .php to requests containing blog.php.
Extracts from the rewrite log:
[09/Nov/2011:18:15:47 --0700] [forum.frenchfriends.info/sid#102cb830][rid#10492bb0/initial] (1) [perdir /home/french/public_html/forums/] internal redirect with /blog.php.php [INTERNAL REDIRECT]
[09/Nov/2011:18:15:47 --0700] [forum.frenchfriends.info/sid#102cb830][rid#10497630/initial/redir#1] (1) [perdir /home/french/public_html/forums/] internal redirect with /blog.php.php.php [INTERNAL REDIRECT]
[09/Nov/2011:18:15:47 --0700] [forum.frenchfriends.info/sid#102cb830][rid#104701b0/initial/redir#2] (1) [perdir /home/french/public_html/forums/] internal redirect with /blog.php.php.php.php [INTERNAL REDIRECT]
etc....
Here is a copy of our .htaccess:
-----
Code:
Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine on ### THIS IS A LITTLE EXTRA SECURITY AND CAN BE REMOVED RewriteCond %{HTTP_HOST} !^forum\.frenchfriends\.info [NC] RewriteRule (.*) http://forum.frenchfriends.info/$1 [L,R=301] RewriteRule ^includes/(.*) index.php RewriteRule ^vb/(.*) index.php RewriteRule ^packages/(.*) index.php # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory. # RewriteBase /forums/ RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # Forum RewriteRule ^threads/.* showthread.php [QSA] RewriteRule ^forums/.* forumdisplay.php [QSA] RewriteRule ^members/.* member.php [QSA] RewriteRule ^blogs/.* blog.php [QSA] ReWriteRule ^entries/.* entry.php [QSA] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # MVC RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA] </IfModule>
Any help to stop these errors is welcome. Thanks!
Comment