Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    81

    Default

    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
    InterSurge Internet
    http://www.intersurge.com

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    25

    Default

    He needs to provide Apache with headers before he provides Hello, world.

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

    Vince.

Similar Threads & Tags
Similar threads

  1. SCGI - Wrap
    By Orzammar in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-24-2011, 02:47 PM
  2. Cp-Wrap - Help!!!
    By c0i0t3 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-07-2006, 11:23 AM
  3. Replies: 0
    Last Post: 02-14-2005, 09:49 PM
  4. cgi wrap errors
    By totalufo in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-24-2003, 11:21 AM
  5. CGI Wrap
    By Pete in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-21-2002, 01:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube