Announcement

Collapse
No announcement yet.

Apache error log Request exceeded the limit of 10 internal

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Paul K
    replied
    Originally posted by chrisd View Post
    I'm running 4.0.6.

    I just downloaded 4.1.7, I do not see a .htaccess. Where is the default .htaccess located.

    I had also installed the blog add-on back in version 3. It does not exist anymore with version 4. Wondering if that could be creating this issue?

    Thanks!
    do_not_upload/rewrite/apache2 (or IIs7 depends what software you are using)/forum/.htaccess

    Leave a comment:


  • chrisd
    replied
    I'm running 4.0.6.

    I just downloaded 4.1.7, I do not see a .htaccess. Where is the default .htaccess located.

    I had also installed the blog add-on back in version 3. It does not exist anymore with version 4. Wondering if that could be creating this issue?

    Thanks!

    Leave a comment:


  • Paul K
    replied
    With the download of VB there is a 'default' .htaccess provided, if you run only the forum for example use the .htaccess in the forum folder, not the other one. This was the mistake I made the first time

    Leave a comment:


  • Lynne
    replied
    What version of vb are you running? And are you using the correct htaccess file that came with that version (it was changed around 4.1.6, I believe)?

    Leave a comment:


  • Apache error log Request exceeded the limit of 10 internal

    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:
    -----
    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!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X