I've recently migrated to a Linode.com VPS and had the opportunity to look at log files I never had in the past. I'm noticing that I'm getting the following error message from several pages on the blogs:
[Sun Jan 11 07:04:38 2009] [error] [client 66.249.70.174] 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.
When I go to these pages and view them with FireBug, I'm noticing that missing files are coming up as 500 Server errors, not 404's. So, I figure there must be some circularity with my .htaccess redirects that's causing this.
Is there some way to regenerate my .htaccess file, in case there's anything wrong with it? Here's the body of the .htaccess file:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ /$1/ [R=301,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]
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
# END WordPress