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.

stop folders being browsed

Discussion in 'General Discussion' started by leftofcentre, Jun 12, 2003.

  1. leftofcentre

    leftofcentre Member

    Joined:
    Apr 28, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Is there any setting in cpanel to stop folders being browsed? Eg when you go to www.site.com/images it lists all the files, is there any easy way to stop this?

    I know I can put an index.htm in the folder, put this is a bit time consuming, is there no global setting to stop folder contents being listed?

    Thanks in advance.

    Brian

    cPanel.net Support Ticket Number:
     
  2. BP Steven

    BP Steven Active Member

    Joined:
    Apr 30, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    There's a feature in cPanel that allows you to turn directory indexing on and off.

    cPanel.net Support Ticket Number:
     
  3. leftofcentre

    leftofcentre Member

    Joined:
    Apr 28, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Any idea where about this features is? Is it in WHM?

    Brian

    cPanel.net Support Ticket Number:
     
  4. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    It's in each user's Cpanel..

    cPanel.net Support Ticket Number:
     
  5. XytraS

    XytraS Registered

    Joined:
    Jun 15, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    didn't find it in cPanel, can someone tells me where it is exactly ?

    cPanel.net Support Ticket Number:
     
  6. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    Index Manager
     
  7. leftofcentre

    leftofcentre Member

    Joined:
    Apr 28, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, i found it. But is there no way to set a global option for this in WHM? Its a real pain having to do it for every site.

    Thanks

    Brian

    cPanel.net Support Ticket Number:
     
  8. NeutralGold

    NeutralGold Well-Known Member

    Joined:
    Jun 5, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Yup there is, its called a skel directory. create an .htaccess file or copy one from the domain you have allready denied indexes to and place it in the skel dir, it will automatically get placed in when the domain is created..

    cPanel.net Support Ticket Number:
     
  9. hostito

    hostito Active Member

    Joined:
    Mar 9, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    you can also just edit the <Directory> tag in apache for the virtual host to have indexing in your Options Directive. Also , you can do this on an .htaccess inside of a folder. It can alo be overiden by a virtual host user using an .htaccees file if you set it in your httpd.conf.

    cPanel.net Support Ticket Number:
     
  10. netsighting

    netsighting Registered

    Joined:
    Mar 29, 2002
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    how does this affect search visibility?

    If I turn indexing off, regardless of the method I use, how does it affect search engines' abilities to crawl the site? I want to have a ton of directories wherein indexing is off, but I want them crawled and indexed by search engines nonetheless. Do tell...
     
  11. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Do some research into robots.txt - it is this file that search robots should look to for where they are and are not allowed to peek.
     
Loading...

Share This Page