Preview site with mod_ruid2 installed?

6thSense

Registered
Nov 7, 2016
3
0
1
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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!