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.

Advice requested about latest new features

Discussion in 'General Discussion' started by magicalwonders, Sep 6, 2016.

  1. magicalwonders

    magicalwonders Well-Known Member

    Joined:
    Nov 21, 2012
    Messages:
    96
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I have a VPS running CENTOS 6.8 x86_64 virtuozzo – WHM 58.0 (build 25)

    When I log into WHM I now get a Feature Showcase screen that asks me to enable or decline two new features - "Apache: UserDir Protection" and "Make document roots in the public_html directory"

    The first one already has the enable button ticked, whereas the second one is set on "no thanks".

    I don't really know what these two things do, so have no idea of the consequences of enabling or declining them. I do use addon domains, so it sounds like I should decline "Make document roots in the public_html directory" ?

    How will it affect the use of VPS though if I enable "UserDir Protection" ? Will I notice any changes, or is it just a security measure that goes on behind the scenes?

    Hope someone can advise. :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,667
    Likes Received:
    646
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    1. Regarding "Apache: UserDir Protection", the option is documented at:

    Apache mod_userdir Tweak - Documentation - cPanel Documentation

    2. Regarding "Make document roots in the public_html directory":

    You can find information about additional new features in cPanel 58 at:

    58 Release Notes - Documentation - cPanel Documentation

    Thank you.
     
  3. magicalwonders

    magicalwonders Well-Known Member

    Joined:
    Nov 21, 2012
    Messages:
    96
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thanks for the links. It seems quite complicated, but if I've understood the info correctly, it's saying that websites using mod_rewrite in htaccess won't work correctly if using mod_userdir protection. As I'm using Wordpress I guess I should say "no thanks" to this feature.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,667
    Likes Received:
    646
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Apache’s mod_userdir allows users to view their sites by entering a tilde (~) and their username as the URI on a specific host. The Apache mod_userdir Tweak interface in WHM allows you to disable the mod_userdir functionality for your users, or to restrict usage to certain hosts. Generally, it's a good idea to prevent Mod_Userdir access if you don't need it. Instructions for preventing access are found at:

    Prevent Mod_Userdir Access

    Thank you.
     
Loading...

Share This Page