Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2002
    Posts
    37

    Default cgi-bin anyone can see contents why ??

    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. #2
    Member
    Join Date
    May 2002
    Posts
    37

    Default

    Please does anyone know how to solve this, what needs to be edited in httpd.conf

    This new install on new server

    Thanks

  3. #3
    Member
    Join Date
    Jul 2002
    Posts
    303

    Default

    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

Similar Threads & Tags
Similar threads

  1. What's the difference between scgi-bin and cgi-bin?
    By jols in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-26-2009, 04:38 AM
  2. Location and contents of cgi-bin
    By melsworld in forum New User Questions
    Replies: 5
    Last Post: 04-07-2008, 03:41 PM
  3. cgi-bin vs. scgi-bin vs. perl
    By Boboss in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-21-2006, 11:27 AM
  4. Interchange - Undefined catalog: /~xxxxx/cgi-bin/cart.cgi
    By wscreate in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-08-2001, 09:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube