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.

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

    ciphervendor Well-Known Member

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

    admin0 Active Member

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

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

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page