Results 1 to 5 of 5
  1. #1

    virtual host returning an internal server error

    I'm working on a wordpress site with a local server (wampserver). it worked just fine till yesterday, but now when i'm trying to log to my virtual host local server i get an 'Internal Server Error' . So i checked the 'server error log' in the apache as they say, and i get this error:


  2. #2

    virtual host returning an internal server error

    I don't really know what can cause that. my localhost works just fine, but i'm working now on a virtual host, which returns the 500 error. maybe the problem is in my httpd-vhosts.conf file? this is what i've got in there:`

  3. #3

    virtual host returning an internal server error

    <VirtualHost *:80>
    DocumentRoot "c:/wamp64/www"
    ServerName localhost
    ServerAlias localhost
    <Directory "c:/wamp64/www">
    AllowOverride All
    Require local
    </Directory>
    </VirtualHost>

    <VirtualHost *:80>
    DocumentRoot "c:/wamp64/www/medialobsters_db"
    ServerName medialobsters
    <Directory "c:/wamp64/www/medialobsters_db">
    AllowOverride All
    Require local
    </Directory>
    </VirtualHost>

  4. #4

    virtual host returning an internal server error

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /medialobsters_db/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /medialobsters_db/index.php [L]
    </IfModule>

    # END WordPress

  5. #5

    virtual host returning an internal server error

    Not quite sure if this is the problem.

    Check your httpd.conf. See if your ServerName is set to localhost. The statement is normally followed by DocumentRoot.

    If that is the case, try to remove the entry for VirtualHost (localhost) in httpd-vhosts.conf as this is redundant.

    Good luck






Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •