The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cgi wrap

Discussion in 'General Discussion' started by Brian Farkas, Dec 17, 2001.

  1. Brian Farkas

    Brian Farkas Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. Vince

    Vince Active Member
    PartnerNOC

    Joined:
    Aug 13, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    He needs to provide Apache with headers before he provides Hello, world.

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

    Vince.
     
Loading...

Share This Page