Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2010

    Unanswered: GET Request - Receiving 500 Server Error

    Hello everyone,

    I am running into an issue when attempting to pull up php webpages from my server via GET requests in Telnet. I can connect to my server via Telnet, perform a GET request on a regular html page and it echoes fine, but whenever I perform a GET request that uses .php the page gives me an "Error 500 - Internal Server Error"

    When I open the page in my Firefox browser, the script runs correctly and puts the name steve in the database, and takes me to a new page that says "data inserted". But when accessing the same page via telnet I receive this error:

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    <html xmlns="" xml:lang="en" lang="en">
        <title>Error 500 - Internal server error</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="cache-control" content="no-cache" />
        <body style="font-family:arial;">
        <h1 style="color:#0a328c;font-size:1.0em;">Error 500 - Internal server error</h1>
        <p style="font-size:0.8em;">An internal server error has occured!<br/>Please try again later.</p>
    *NOTE: For some reason I cannot include the "HTTP/1.1" at the end of the GET statement, because it returns an error. It seems as though it reads the second set of http:/ as the beginning of a new website and returns an error stating to include the hostname in the address. When I do not include HTTP/1.1 it works fine and echos the html.

    Any idea what could be causing this 500 error? I am not sure if it is my server settings, I am using the default settings for a mysql database. Thank you in advance for helping me out.

  2. #2
    Join Date
    Jul 2010
    Winnipeg, Canada
    500 errors are very generic and don't offer much information. The problem could be anything. You will need to consult your webserver logs, which may provide some insight.

  3. #3
    Join Date
    Aug 2010
    Have you attempted to do a Google Search for the specific 500 error you are getting. This may help in addition to what R45 stated.

  4. #4
    Join Date
    Aug 2010
    In addition to what R45 stated, have you done a google search for this error?

  5. #5
    Join Date
    Jun 2010
    Thanks guys for helping me out. I contacted my ISP and they stated I am getting the error because I am using shared hosting. They told me to set up a dedicated server to solve this issue.

    Thanks again for helping me out, have a good one!

Posting Permissions

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