2006-05-27, 03:48 AM
Hi everyone!
I just wonder if you may help me...
I don't know anything related with programing or php, I only can use the copy and paste function So I am beggin you to help me!
The HTTP 500 Error (internal server) is appearing very constantly on my website. I requested some help from my webhosting provider but they never answered me, so I check on HelpDesk from their archives and found this:
How can I stop this HTTP 500 page?
I will apreciate your help!
Thanks and Regards,
I just wonder if you may help me...
I don't know anything related with programing or php, I only can use the copy and paste function So I am beggin you to help me!
The HTTP 500 Error (internal server) is appearing very constantly on my website. I requested some help from my webhosting provider but they never answered me, so I check on HelpDesk from their archives and found this:
Quote:Why do I get an HTTP 500 error when I run my Perl script?
HTTP 500 errors can occur when there is a problem with your script. Please check your log file to find errors in your Perl script.
The most common reason for HTTP 500 errors is not printing the MIME type before outputting data to the web browser. Perl does not automatically generate HTML. If you are trying to run a Perl script and want to output data to a web browser, you will need to specify a content type or use the CGI Perl module. Here is an example script to output HTML to a browser:
#!/usr/bin/perl
$title = "Your title here!";
$content = "Here is some content. This will be displayed in between your body tags.";
print "Content-type: text/html\n\n";
print "<html><head><title>
$title</title></head>\n<body>\n";
## START HTML content
print "<h1>$title</h1>\n";
print "<p>$content</p>\n";
## END HTML CONTENT
print "</body></html>";
How can I stop this HTTP 500 page?
I will apreciate your help!
Thanks and Regards,