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!

Main Shared IP - Directory Browsing

Discussion in 'General Discussion' started by bonnmac, Jun 8, 2003.

  1. bonnmac

    bonnmac Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    166
    How do I turn it off? It doesn't bother me any but it's bugging one of my resellers. I know I have the ability to turn directory browsing off per domain but how would I do it for the main shared ip?

    Thanks

    cPanel.net Support Ticket Number:
     
  2. evolver

    evolver Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    156
    Yes , good Thread :) How can we do ?
    Thanks...

    cPanel.net Support Ticket Number:
     
  3. ThinkSupport

    ThinkSupport Member

    Joined:
    Sep 28, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    Try out his in your httpd.conf :

    <Directory />
    AllowOverride All
    </Directory>
    <Directory /home/*/public_html/>
    Options All
    Options -Indexes
    AllowOverride All
    </Directory>

    This will turn of directory listing on the server by default ..!
     
    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