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!

How to disable the visualization of folder containing no index file?

Discussion in 'Security' started by globcom, Nov 22, 2015.

  1. globcom

    globcom Well-Known Member

    Joined:
    May 24, 2008
    Messages:
    55
    Likes Received:
    3
    Trophy Points:
    58
    Hello,

    I need to block, in all accounts (IE. in all server), the visualisation of content into folder with no index(.html .php, etc.) file.

    With .htaccess is possible to use "Options All -Indexes" in one account
    but is it possible to do that automatically in all accounts?

    May be a WHM or apache option to activate?
    I don't know which option.

    WHM 11.52.11 + Cloudlinux

    Thanks you for your help.

    Regards,
    Eric
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,585
    Likes Received:
    440
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You might find these options useful:
    WHM »Service Configuration »Apache Configuration »Global Configuration
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. globcom

    globcom Well-Known Member

    Joined:
    May 24, 2008
    Messages:
    55
    Likes Received:
    3
    Trophy Points:
    58
    Thank you, it's ok :)
     
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