The MU forums have moved to

500 errors due to mod_rewrite (3 posts)

  1. quenting
    Posted 16 years ago #

    ok, so basically, do this :
    1) pick one of your blogs
    2) access
    500 internal server error.
    From error_log:
    mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.
    This happens on my install, and on all installs i've tried except
    It becomes a problem when a soccermom with a popular blog copy/pastes some stuff from the web with relative image paths inthere. imagine 50 images in the copied stuff, 50 users online, and apache goes crazy.
    Any idea what rule is doing this precisely ?
    Does any script under wp-admin use mod_rewrite at all ? (if not just an htaccess with "RewriteEngine Off" might do the trick).

  2. drmiketemp
    Posted 16 years ago #

    Um, why not put the image within the wp-admin/images subdirectory? There are already images within the subdirectory so what ever is needed is already in place.

    Thanks for checking the error log by the way.

  3. quenting
    Posted 16 years ago #

    the problem is not images that are meant to be in the admin directory. The problem is users posting articles in a way that includes images (meant to appear inside the article) that do not exist on the local servers, and appear in the generated html as if they were in the wp-admin directory (probably from copy/paste of html code from another site or something).
    I think I'm gonna give a shot to disabling the rewriteengine in wp-admin. I don't think it's in use anywhere. Actually I don't really understand how it's being triggered by such requests.

About this Topic

  • Started 16 years ago by quenting
  • Latest reply from quenting