The MU forums have moved to WordPress.org

500 Internal error + Apache error (7 posts)

  1. mikeboy3
    Member
    Posted 16 years ago #

    Greetings, I just upgraded to php5 and am experiencing several issues. I am getting a 500 Internal server error, I believe it is an .htaccess problem, since I get that error when I comment this lines out: `#RewriteEngine On
    #RewriteBASE /`

    however, when I don´t:

    RewriteEngine On
    RewriteBASE /

    I get a different problem, an Apache HTTP Server Test Page.

    I tried renaming the file, erasing the .htaccess file and leaving only the htacess.dist brings the 500Ise no matter what I comment out.

    The domain is http://www.iamzaks.com , here is my htaccess file:

    RewriteEngine On
    RewriteBASE /
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    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]
  2. andrea_r
    Moderator
    Posted 16 years ago #

    Did you follow the install intructions? Because BASE should not be in there at all.

  3. mikeboy3
    Member
    Posted 16 years ago #

    That was added by one of the support guys with the hosting company, I deleted it, but still, the same issue.

    ¿Should I not have a .htaccess file, only the htaccess.dist? or just the htaccess.dist or both?

  4. mikeboy3
    Member
    Posted 16 years ago #

    Here is a clip form today's error log:

    Sun Dec 09 07:20:25 2007] [error] [client 83.58.202.11] Premature end of script headers: index.php
    [Sun Dec 09 07:20:29 2007] [error] [client 83.58.202.11] Premature end of script headers: index.php
    [Sun Dec 09 07:20:35 2007] [error] [client 201.247.225.25] File does not exist: /var/www/vhosts/iamzaks.com/httpdocs/seleccion-de-temporada
    [Sun Dec 09 07:20:37 2007] [error] [client 201.247.225.25] File does not exist: /var/www/vhosts/iamzaks.com/httpdocs/seleccion-de-temporada
    [Sun Dec 09 07:20:38 2007] [error] [client 201.247.225.25] File does not exist: /var/www/vhosts/iamzaks.com/httpdocs/seleccion-de-temporada
    [Sun Dec 09 07:21:14 2007] [error] [client 200.127.245.180] Premature end of script headers: index.php
    [Sun Dec 09 07:21:23 2007] [error] [client 80.61.82.31] Premature end of script headers: index.php
    [Sun Dec 09 07:21:28 2007] [error] [client 80.61.82.31] Premature end of script headers: index.php

  5. theapparatus
    Member
    Posted 16 years ago #

    I believe it is an .htaccess problem

    The htaccess file is the same for everybody. Chances are that file is not the problem. Please return those lines that you commented out of your htaccess file as they're in their for a reason and are needed for wpmu to run correctly.

    RewriteBASE /

    If wpmu is installed within the root of your domain, than that is correct.

    Premature end of script headers: index.php

    Have you made any other modifications to any of the other files?

    seleccion-de-temporada

    What is this subdirectory?

  6. mikeboy3
    Member
    Posted 16 years ago #

    that si not a subdirectory, its a page, created by the blog, using the permalink structure.

    The problem is now different, thanks to beerfan, we fixed some issues, and now I get 1 of 2 errors, when there is no .htaccess file, the site loads, but all pages and images are 404 not found, when I upload the .htaccess file, I get the same apache test page.

    Also, I cannot acces directories, I get a 403- Fobidden error (url: http://avatar.iamzaks.com/wp-admin/ )

    .htaccess CHMOD644

    here is the .htaccess
    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    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]

  7. mikeboy3
    Member
    Posted 16 years ago #

    Well, this was solved, I turns out that because of my incompetence and lack of knowhow, I apparently created like 20 versions of a vhosts.conf file, and had a couple still open in the temp directories... thanks to the mediatemple support team, they cleaned it up, and it now works just fine... I feel like a &&$%#&!

About this Topic

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