Brian Farkas

Well-Known Member
Aug 12, 2001
81
0
306
Has the script been uploaded in ASCII mode, and chmoded correctly (755)? What does he get when he runs \"perl scriptname.cgi\" from the command line?

Have you tried uploading a test script to the user\'s directory, that you _know_ works, to see if it\'s a problem with cgi-wrap or the script itself? My guess would be that the problem lies somewhere within the script, though we\'d probably have to see it before we can diagnose it.

Good luck,

Brian
 

Vince

Active Member
PartnerNOC
Aug 13, 2001
25
0
301
cPanel Access Level
DataCenter Provider
He needs to provide Apache with headers before he provides Hello, world.

print(\"Content-type: text/plain\\n\\n\");
print(\"Hello, world!\\n\");

Vince.