Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-24-2004, 03:59 PM   #1
Registered: Jun 2004
Posts: 43

Rep: Reputation: 15
Internal Error 500 cannot be fixed

Hi guys,
I have a very weird error going on right now.
When I try to access my page, it displays OK on the browser.
But when I try to access it from a PHP script or from curl, I will get a big fat internal server error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Here is my PHP code:

echo file_get_contents('');

there is nothing wrong with the code because when I try this on the dozens of other websites, there is no problem.
Note that I am running the script from another server.

Anyone knows whats going on here???
Old 10-25-2004, 12:46 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Take a look at the server's error_log file - what error do you get when accessing the page?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_jk build successful, but 500:internal error Lzolcsi Linux - Enterprise 2 11-29-2005 11:35 AM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM
500 internal error when running shizzle Linux - Networking 1 05-19-2005 06:39 AM
HELP! CGI problem : HTTP 500 - Internal server error eech55 Programming 2 10-11-2004 11:27 AM
dns and 500 internal server error.. Flawless Slackware 4 08-23-2003 11:08 PM

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration