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-bin dir on account creation

Discussion in 'General Discussion' started by section31, May 2, 2008.

  1. section31

    section31 Active Member

    Joined:
    Sep 3, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    San Antonio
    Why is the cgi-bin in the public_html dir if I can still run perl scripts from anywhere?

    Also, is there a way I can not have it created on account creation, rather than having to manually go in and delete it?
     
  2. vikins

    vikins Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    107
    Likes Received:
    1
    Trophy Points:
    168
    I'm kind of wondering the same thing. Clearly I can run .cgi files (with a perl #!/usr/bin/perl first line) in any web directory with very secure permissions of just 700. It doesn't need to be in cgi-bin.

    I'm running latest version of cPanel RELEASE tree.
     
  3. frkandris

    frkandris Member

    Joined:
    Mar 7, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    removing cgi-bin directory

    my question is, if it is possible to prevent the creation of the cgi-bin directory, it's not necessary (we are not permitting cgi anyways)

    andris
    --
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. frkandris

    frkandris Member

    Joined:
    Mar 7, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    the support says that it is not possible to prevent the creation of the cgi-bin directories.

    andris
    --
     
    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