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!

couple of cgi-bin questions!

Discussion in 'General Discussion' started by admin0, Aug 24, 2003.

  1. admin0

    admin0 Active Member

    Joined:
    Aug 11, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    #1.
    One of my clients need to disable cgi for one website completely. putting # in front of the scriptalias just disables /cgi-bin/ directory, however, clients can still run cgi/pl files on his sub-domains or outside the cgi-bin directory.

    #2.
    Is there a way to allow/deny commands for perl intepreter, perhaps via a compile from source if that's the only way.
    something like sudoers type access, or just a basic access where only selected system commands be possible to be used..


    Thanks!

    cPanel.net Support Ticket Number:
     
    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
    1. You could setup custom mime types so that cgi/pl ext. are say parsed by Apache rather than executed. Changing permissions on their public_html directory may also work.

    2. To my knowledge there isn't a way to do this.

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. admin0

    admin0 Active Member

    Joined:
    Aug 11, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151

    -- can you provide me an example for this to be done on a domain per domain basis.

    cPanel.net Support Ticket Number:
     
    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