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 scripts outside of cgi-bin

Discussion in 'General Discussion' started by imagic, Jan 30, 2003.

  1. imagic

    imagic Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    166
    Will user installed cgi scripts work outside of the cgi-bin?

    I transferred an account from al****za that requires this and it's not working properly. The cgi script is trying to download instead of executing. Also, it transferred over the .htaccess file and I'm attempting to add the lines:
    AddHandler cgi-script .htm
    Options +ExecCGI
    to it. I'm opening the file through the file manager, adding the code, saving and the new code is not showing up in the file. Any thoughts?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    166
    Make sure that your scripts have correct file ext. Also, if you are running a suexec rig be sure that scripts are chmod'd to 755.

    For the .htaccess file, ssh into your account edit it manually or update a modified file via ftp.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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