Welcome Guest, Not a member yet? Register   Sign In
Maximum number of internal redirects
#1

[eluser]SeasonedCoder[/eluser]
Howdy,

I have this .htaccess file:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|.*\.css|.*\.png|.*\.js)
RewriteRule ^(.*)$ /index.php/$1 [L]

Everything works perfectly on my local setup.

But when I tried to install my site on the remote server I get error 500 with this message:

Quote:mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.

Do you have any ideas?
#2

[eluser]TheFuzzy0ne[/eluser]
That's usually caused by a loop. Apache allows the admin to configure the maximum number of redirects to prevent such loops that can slow down a server, or in some cases cause it to crash.

I'd suggest changing your URI protocol to REQUEST_URI in your config.php, and see if that resolves the issue.




Theme © iAndrew 2016 - Forum software by © MyBB