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 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:
    16
    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!
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    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.
     
Loading...

Share This Page