The MU forums have moved to WordPress.org

Internal server error (7 posts)

  1. stormrider_may
    Member
    Posted 17 years ago #

    I'm getting Internal Server Error when i try to access my future blog. I can see this on apache's error:

    [Tue Jul 11 15:33:34 2006] [error] [client 192.168.0.3] 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.

    And my .htaccess is like this

    GNU nano 1.2.4 File: .htaccess

    RewriteEngine On
    RewriteBase /blog/
    RewriteOptions MaxRedirects=20
    # Rewrite http://www.domain.com to domain.com
    RewriteCond %{HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

    #uploaded files
    RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [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]

    How can i solve it?

  2. drmike
    Member
    Posted 17 years ago #

    Google points me at this post ove at Donncha's blog. It's talked about in the comments.

    Hope this helps,
    -drmike

  3. stormrider_may
    Member
    Posted 17 years ago #

    Sorry, but i still can't fix it :(

    I don't know what i should change on .htaccess

  4. Toucouleur
    Member
    Posted 17 years ago #

    have the same problem here

    Running it under WAMP Server everyhting is ok except if i go to http://localhost/wordpress/mysubdomain_test/wp-admin/

  5. donncha
    Key Master
    Posted 17 years ago #

    Toucouleur - don't use localhost!

    stormrider.. does your domain start with "www" by any chance? Remove these lines from .htaccess:
    RewriteCond %{HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

  6. stormrider_may
    Member
    Posted 17 years ago #

    Thanks it is working now.

  7. cori
    Member
    Posted 17 years ago #

    For anyone (like me) who's wondering what to do instead of using localhost as Donncha mentions, an alternative is discussed at http://mu.wordpress.org/forums/topic.php?id=1466&replies=8. I'm still curious why localhost won't work, but doing this (and moving my sub-directory mu install to the root folder of my WAMP (Windows, Apache, MySQL, PHP) install) made the WPMU installation work like a charm.

About this Topic

  • Started 17 years ago by stormrider_may
  • Latest reply from cori