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!

Preview site with mod_ruid2 installed?

Discussion in 'Security' started by 6thSense, Nov 7, 2016.

  1. 6thSense

    6thSense Registered

    Joined:
    Nov 7, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ryde, UK
    cPanel Access Level:
    Root Administrator
    Hi,

    Easy Apache 4, CentOS6.8, WHM 60.0 (Build 15).

    I'm trying to preview a site. But I cannot activate mod_userdir because mod_ruid2 is installed.

    OK - So I can uninstall mod_ruid2 but my question is what security risks does this pose? Should I give up on previewing websites and accept that mod_ruid2 is required and must not be removed?

    Thanks
     
  2. 6thSense

    6thSense Registered

    Joined:
    Nov 7, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ryde, UK
    cPanel Access Level:
    Root Administrator
    Solved: Edit hosts file seems to work ok. Although not sure I would want a client to do this.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Manually modifying the hosts file on a workstation is the preferred option in most cases because not only can you keep Mod_Ruid2 enabled, but sometimes certain Mod_Rewrite rules won't function when accessing a website via the Apache Mod_Userdir URL. There's also some security implications to consider when using Apache's Mod_Userdir that we document at:

    Apache mod_userdir Tweak - Documentation - cPanel Documentation

    Let us know if you have any additional questions.

    Thanks!
     
    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