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.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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!
     
Loading...

Share This Page