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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enabling mod_userdir question

Discussion in 'EasyApache' started by TechStar1, Jan 7, 2018.

Tags:
  1. TechStar1

    TechStar1 Member

    Joined:
    Jan 5, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Website Owner
    Hi I'm being told that if I want to view my domains like this 166.**.80.**8/~fred/
    I need to do the below.

    I am using WHM
    • CENTOS 6.9
    • v66.0.34
    Any idea on how I can accomplish this?

    Thanks
    Code:
    mod_userdir is disabled
    Web server processes on this system currently run as the user. For security reasons, the system disabled mod_userdir. Any changes that you make in this interface will not take effect until you enable mod_userdir. To use mod_userdir, you must disable mod_ruid2, mod_itk, and mod_passenger and recompile EasyApache.
    
    
    Apache’s mod_userdir allows users to view their sites by entering a tilde (~) and their username as the URI on a specific host. For example [B][URL]http://test.cpanel.net/~fred/[/URL][/B] will bring up the user fred’s domain. The disadvantage of this feature is that any bandwidth usage used by this site will be put on the domain it is accessed under (in this case test.cpanel.net). mod_userdir protection prevents this from happening. You may however want to disable it on specific virtual hosts (generally shared ssl hosts).
    
     
    #1 TechStar1, Jan 7, 2018
    Last edited by a moderator: Jan 7, 2018
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,722
    Likes Received:
    77
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    You will have to disable the mod_ruid2, mod_itk, and mod_passenger apache module first to have this setting enabled. Execute EasyApache on your server and remove it..

    For more detailed information visit the below link:
    Apache mod_userdir Tweak - Version 68 Documentation - cPanel Documentation
     
  3. TechStar1

    TechStar1 Member

    Joined:
    Jan 5, 2018
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Website Owner


    Yes I read that, does anyone know how this is done?

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,693
    Likes Received:
    1,703
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page