View Single Post
Old January 18th, 2008, 12:07 PM   #1 (permalink)
Bestfoot
Registered User
Fresh Surpasser
 
Joined in Jan 2006
26 posts
Gave thanks: 3
Thanked 0 times
cgi-bin not working

I am on pass51 reseller. I am trying to get a cgi-bin working. When I create my account type it permits cgi and the system automatically creates a cgi-bin.

I put a hello world script in that directory (ASCII upload) and chmod to 755 and it won't run. It tries to give me a 404 page (which is missing as well).

Here is the script:
Code:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";
Bestfoot is offline   Reply With Quote