Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Vince

    Vince Active Member
    PartnerNOC

    Joined:
    Aug 13, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    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.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice