500 internal server error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dj-marc
    replied
    my site is working ok now

    Leave a comment:


  • capofret
    replied
    Originally posted by opticalpigion View Post
    save this code as 500.shtml
    HTML Code:
    <!-- SHTML Wrapper - 500 Server Error -->
    <!--#exec cgi="/500.php" -->

    and
    PHP Code:
    <!-- PHP Wrapper - 500 Server Error -->
    <html><head><title>500 Server Error</title></head>
    <body bgcolor=white>
    <h1>500 Server Error</h1>

    A misconfiguration on the server caused a hiccup.
    Check the server logs, fix the problem, then try again.
    <hr>

    <?
    echo "URL: http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]<br>\n";
    $fixer = "checksuexec ".escapeshellarg($_SERVER[DOCUMENT_ROOT].$_SERVER[REQUEST_URI]);
    echo `$fixer`;
    ?>

    </body></html>
    save as 500.php
    this only gives a blankpage. :confused:

    Leave a comment:


  • opticalpigion
    replied
    Originally posted by Dj-marc View Post
    this is the message that ive received while trying to access my site

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    wat could be the problem?

    in my error log i get this:
    [Wed Apr 29 15:35:42 2009] [error] [client 81.93.186.97] File does not exist: /home/...../public_html/500.shtml,
    save this code as 500.shtml
    HTML Code:
    <!-- SHTML Wrapper - 500 Server Error -->
    <!--#exec cgi="/500.php" -->

    and
    PHP Code:
    <!-- PHP Wrapper - 500 Server Error -->
    <html><head><title>500 Server Error</title></head>
    <body bgcolor=white>
    <h1>500 Server Error</h1>

    A misconfiguration on the server caused a hiccup.
    Check the server logs, fix the problem, then try again.
    <hr>

    <?
    echo "URL: http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]<br>\n";
    $fixer = "checksuexec ".escapeshellarg($_SERVER[DOCUMENT_ROOT].$_SERVER[REQUEST_URI]);
    echo `$fixer`;
    ?>

    </body></html>
    save as 500.php

    Leave a comment:


  • riderz
    replied
    just change ur htacces to php.ini then it should be working

    Leave a comment:


  • Dj-marc
    replied
    I have removed it and the problem still remains

    Leave a comment:


  • laro696
    replied
    Remove .htaccess

    Leave a comment:


  • Dj-marc
    started a topic 500 internal server error

    500 internal server error

    this is the message that ive received while trying to access my site

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    wat could be the problem?

    in my error log i get this:
    [Wed Apr 29 15:35:42 2009] [error] [client 81.93.186.97] File does not exist: /home/...../public_html/500.shtml,
Working...
X