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-bin anyone can see contents why ??

Discussion in 'General Discussion' started by rupdog, Jul 31, 2002.

  1. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I just got Cpanel/Whm installed and added a domain and was browsing the domain and to my surprise I was able to see contents of my cgi-bin. I am on Linux RH7.2 :

    http://domain.com/cgi-bin/
    Parent Directory 30-Jul-2002 10:04 -
    cgiecho 30-Jul-2002 10:16 18k
    cgiemail 30-Jul-2002 10:16 18k
    entropybanner.cgi 30-Jul-2002 10:16 3k
    randhtml.cgi 30-Jul-2002 10:16 3k

    How's that possible ? :(

    I have suexec enabled

    Can some one please tell me how to fix this, for not to view cgi contents server wide, I have root access.

    Thanks
     
  2. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Please does anyone know how to solve this, what needs to be edited in httpd.conf

    This new install on new server

    Thanks
     
  3. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16
    you can put a blank index.htm page into the cgi-bin dir.
    Ayone who goes to http://domain.com/cgi-bin/ will only see the index page.




    bye
     
Loading...

Share This Page