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.

directories displaying contents

Discussion in 'General Discussion' started by Alaint, Dec 17, 2009.

  1. Alaint

    Alaint Member

    Joined:
    Oct 28, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hallo, I have this problem regarding http directories whose online access/visualization is not normally forbidden.
    Parent directory, images files etc are freely displayed.
    Please how to configure CP to make directories structures normally reserved?

    Thanks a lot.
     
  2. Kailash1

    Kailash1 Well-Known Member

    Joined:
    Nov 27, 2006
    Messages:
    252
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Add following line in your .htaccess to disable directory listing:

    Options -Indexes

    Kailash
     
Loading...

Share This Page