PDA

View Full Version : Perl Script throwing Error 500 ;(


rodpacker
03-05-2007, 12:10 AM
Hello,
I got a perl script that runs perfectly fine on a wamp locally.
I uploaded it on my siteground webspace and it only throws errors (in cgi-bin as well as any other direcory.)
I have a second sitegroudn account to test it on and there it throws the same error 500, although the displaying of it is different.
Anything special to look after while using perl on siteground?
I tried it as .cgi and .pl ;(
cheers
rodpacker

Greatlinks
03-07-2007, 11:11 PM
HI,

I got the same 500 error with my script and it ran fine locally on my machine. So what's up with perl siteground?

Also, why is it so hard to find where to send in a support ticket here? I still havn't been able to find the link to submit a ticket. It's all search the knowledgebase stuff..

Brandon
03-13-2007, 04:25 PM
Hello,

May you provide the perl code here and I will check where the error may reside. I assume that the WAMP and our server's configuration are different, thus some changes may have to be performed.

rodpacker
03-17-2007, 07:02 PM
I posted a ticket and their has been some changes done (sorry don't know which ones) and now it is working ;)
rodpacker

PDXDeveloper
12-19-2008, 01:48 PM
I have the simples perl script.
hello.cgi and hello.pl

#!/usr/bin/perl;

print "Content-Type: text/html\n\n";
print "hello";
exit;

I get an error 500. If I run a hello.htm then it works fine. I place the hello.pl and hello.cgi in the cgi-bin directory and it doesn't work either.

Impossible to find a way to submit a ticket. It is like Siteground doesn't really want to help their customers.

Please HELP!!!! This should be EASY!

Dimo
12-20-2008, 04:05 AM
I can assure you that perl is properly working on all of our servers

If the problem persists, please post a ticket in the cPanel category of your Help Desk. Then our support team will do their best to help you and resolve your problem :)