Skip to main content

Apache mod_userdir not working

Comments

2 comments

  • cPanelMichael
    Hello :) You will also need to exclude protection for "DefaultHost (nobody)" under "Apache mod_userdir Tweak" if you want to temporarily access websites over the IP address itself. Please keep in mind that the best way to view a website before it's DNS is updated is to modify the hosts file on your personal computer. The hosts file is documented here: [url=http://en.wikipedia.org/wiki/Hosts_(file)]hosts (file) - Wikipedia, the free encyclopedia This allows you to keep mod_userdir protection enabled, and view the website through the domain name itself. Thank you.
    0
  • Unnamed User

    I was finally able to get this working. You also have to recompile easy4apache without

    remove: 

    mod_ruid2
    mod_passenger
    mod_mpm_itk
    mod_proxy_fcgi
    mod_fcgid

    Install

    Mod_suexec
    mod_suphp

    Then go into Apache_mode_user dir tweak and do enable it and exclude default only.
    It wont save the setting in the portal, but the configuration is updated. 

    Then PHP will work again on the tempurl. 

    Curtesy of: https://www.nicktailor.com/?p=1905

     

    0

Please sign in to leave a comment.