I'm getting

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

when enabling cleanURL. Any suggestions?

Comments

stephan’s picture

[Wed Aug 20 09:08:46 2003] [error] [client 213.146.113.43] Request exceeded the limit of 20 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary.

However we can't get the LimitInternalRecursion directive to take effect despite running Apache 1.3.28. Has anyone else had this problem?

stephan’s picture

Old: RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

New: RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]

did the trick.

qgil’s picture

With Drupal 4.5.0 I had the same problem and thanks to this post and this missing slash I've solved it.

Thanks

keesje’s picture

I can't believe to find an answer/solution to my problem in this old,old thread (did I have internet back in 2003??).

I'm running D5.2, experiencing the same problem. Adding the slash works.
This apparently varies between server-setups, this is the first ISP I work with that has this problem.

This must be server/config related. Is this documented somewhere? Cant find it...

Webbased applicaties, content management systemen, websites, webdesign

raymondllee’s picture

I just switched to a VPS with Westhost and had to add the slash in to get clean URLs working.

shunz’s picture

[Wed Dec 15 01:21:24 2004] [error] [client xxx.xxx.xxx.xxx] File does not exist: /home/www/html/drupal/admin/settings

rewrite mod does not work ?

Tommy Sundstrom’s picture

I was able to solve a simular problem with this:

  # Rewrite URLs of the form 'index.php?q=x':
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !^index.php     <-- this stops the loop
  RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
netaxis’s picture

tried with all above solutions

but still getting

[Tue Mar 18 11:27:04 2008] [warn] RewriteOptions: MaxRedirects option has been removed in favor of the global LimitInternalRecursion directive and will be ignored.

Any help ?