Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    253
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    Add following line in your .htaccess to disable directory listing:

    Options -Indexes

    Kailash
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice