cgi-bin anyone can see contents why ??

rupdog

Active Member
May 18, 2002
37
0
306
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
 

rupdog

Active Member
May 18, 2002
37
0
306
Please does anyone know how to solve this, what needs to be edited in httpd.conf

This new install on new server

Thanks
 

wimp

Well-Known Member
Jul 13, 2002
301
0
166
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