icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » CGI not working

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old December 2nd, 2005, 3:44 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Dec 2005
1 posts
Gave thanks: 0
Thanked 0 times
CGI not working

For some reason I can not get cgi to work. I put the following script in cgi-bin:

#!/usr/bin/perl -wT
print "Content-type: text/html\n\n";
print "Hello, World.";

and I get an internal server error

the log says:

[Fri Dec 2 02:39:28 2005] [error] Premature end of script headers:

I tried chmoding it to 777 then 755 but still the same error. Any ideas?
sheik482 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On