Server Error 500

Discussion in 'Installation/Configuration' started by devilslayer, Nov 19, 2007.

  1. devilslayer

    devilslayer New Member

    500 Server Error

    --------------------------------------------------------------------------------
    Hello,

    I am getting a 500 server error when I try to access any folder / file on my website except the index file that was created when I setup ISPConfig.

    I have the website:

    www.mydomain.com

    I access ISP config with http://www.mydomain.com:81

    When I go to www.mydomain.com I see the index.html file that was installed by ISPConfig:

    Welcome to www.mydomain.com!
    -----------------------------------------------------------------------
    This is the standard index of your website. You can easily delete it or replace it with another file. This is the index.html file in the web directory.
    For questions or problems please contact the server administrator.
    --------------------------------------------------------------------------
    powered by ISPConfig

    I am trying to install a PHP community script and have uploaded it into the above domain.

    /web/dolphin/

    When I try to access the install folder I get an error:

    500 error - Internal Server Error!

    I have tried to access other files in this directory and I get the same error. The only file I seem to be able to access is the index.html holding page.

    You can install a website on the same domain that ISP config is on?

    www.mydomain.com - Website
    www.mydomain.com:81 - ISPConfig control panel.

    What am I doing wrong? My folder structure is below:

    web
    - dolphin (script i'm trying to install)
    - stats
    - error
    - index.html (default index.html file)

    Thanks for your help.
     
  2. edge

    edge Active Member Moderator HowtoForge Supporter

    It's probably a .htaccess file causing this 500 error.
    As test, remove or rename the .htaccess file, and see if you still get the error.

    If not, you will need to look at you .htaccess, and see what is causing this error.
     
  3. devilslayer

    devilslayer New Member

    There isn't a .htaccess file in that directory. Have you any other suggestions?
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Please post the error message that you get in the error.log of the website.
     
  5. devilslayer

    devilslayer New Member

    Till excuse my ignorance, but where do I find this error.log file?

    Is it within the website?
    Is it accessed via ISPConfig Control Panel
    Do I have to login to server using ssh?
     
  6. devilslayer

    devilslayer New Member

    Till,

    I take it that it is this file you are on about. Located in the log directory of the website?

    Code:
    [Mon Nov 19 12:18:49 2007] [error] [client 66.249.73.40] File does not exist: /var/www/web1/web/robots.txt
    [Mon Nov 19 13:11:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:12:26 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:12:51 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:14:29 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:17:46 2007] [error] [client 82.71.62.106] File does not exist: /var/www/web1/web/web
    [Mon Nov 19 13:17:53 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:18:08 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:18:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:18:32 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:34:37 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:35:02 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:35:06 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 13:44:24 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 15:03:11 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    [Mon Nov 19 15:03:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
    
    The .htaccess file within the dolphion directory contains the following:
     
    Last edited: Nov 20, 2007
  7. devilslayer

    devilslayer New Member

    Update to problem

    I have managed to start the installation of the Dolphin script. I renamed the .htaccess file.

    Is this file important. I know that it is used to set directives in apache, but other than that I'm fairly clueless about it.
     
  8. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    You can try to copy the directives from the .htaccess file to the apache directives field of the website.
     

Share This Page