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!

userdir effect on ruid2

Discussion in 'General Discussion' started by Alvin Lebon, Feb 16, 2015.

  1. Alvin Lebon

    Alvin Lebon Registered

    Joined:
    Feb 16, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Victoria, Seychelles, Seychell
    cPanel Access Level:
    Reseller Owner
    Hi,

    I would like to know of there is a way to achieve the same mod_userdir effect, accessing a temporary url like: /http://host_ip/~username but while running ruid2?
    Currently I am getting error 404.
     
  2. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    995
    Likes Received:
    41
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    You could add the IP to your hosts file on your client computer.
    eg:

    123.456.789.001 www.your_domain_name.com

    this will allow you to access it normally.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The Mod_UserDir method to access websites causes a conflict with the mod_ruid2 Apache module. You can actually modify the hosts file on your personal computer if you want to see if it will work with your current setup before the DNS is updated. The hosts file is documented here:

    hosts (file) - Wikipedia, the free encyclopedia

    Thank you.
     
    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