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!

How to enable mod_userdir?

Discussion in 'EasyApache' started by Medic873, Apr 11, 2019.

  1. Medic873

    Medic873 Registered

    Apr 11, 2019
    Likes Received:
    Trophy Points:
    Phoenix, Arizona
    cPanel Access Level:
    Root Administrator
    So I have been wracking my brain all day. I can not figure out for the life of me why I can not visit the ipaddress/~accountname to view the files on that cpanel account.

    I have fallowed every tutorial and forum post I can find.

    I have already disabled mod_userdir Protection under the security settings but now I get this warning on that page

    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.

    I am unsure what else to try at this point all suggestions are greatly appreciated.

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @Medic873,

    In addition to the modules noted in the quoted warning message, the following PHP handlers do not allow you to use the Apache mod_userdir module:

    PHP via CGI.

    You can read more about the compatibility issues with Mod_Userdir on the document linked below:

    Apache mod_userdir Tweak - Version 78 Documentation - cPanel Documentation

    Generally, the better approach is to modify the hosts file on your computer if you need to temporarily access a domain name before it resolves to the server:

    How to Modify your hosts File - cPanel Knowledge Base - cPanel Documentation

    Thank you
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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