I want visit web from http://ip/~username,but the new version close it.
follew the guide , i need disable mod_ruid2 and mpm_itk ,then recompiling easyapache4
but after do three steps, i Enable mod_userdir Protection, but output the error:

Detected mod_ruid2 in use.
Using both mod_userdir and mod_ruid2 is not a supported configuration.
Changes were not saved.

Staff Member

Internal case EA-5117 is open to address an issue where "WHM >> Apache mod_userdir Tweak" can incorrectly detect mod_ruid2 as active on systems running EasyApache 4. I'll update this thread with more information on the status of this case as it becomes available. As a temporary workaround, check to see if an entry for mod_ruid2 exists in the /var/cpanel/conf/apache/main file on this system with a command such as:

Code:

grep ruid2 /var/cpanel/conf/apache/main

If it does, open the this file in your preferred text editor, set the line for mod_ruid2 to "0", save the file, and then run the following command:

Internal case EA-5117 is open to address an issue where "WHM >> Apache mod_userdir Tweak" can incorrectly detect mod_ruid2 as active on systems running EasyApache 4. I'll update this thread with more information on the status of this case as it becomes available. As a temporary workaround, check to see if an entry for mod_ruid2 exists in the /var/cpanel/conf/apache/main file on this system with a command such as:

Code:

grep ruid2 /var/cpanel/conf/apache/main

If it does, open the this file in your preferred text editor, set the line for mod_ruid2 to "0", save the file, and then run the following command:

Staff Member

This is unrelated to the original issue. The "Not Supported" message will occur when using the "CGI" handler with Apache Mod_Userdir. You will need to use another handler (e.g. suphp) if you want to utilize Apache Mod_Userdir. Documentation on Apache Mod_Userdir, and selecting PHP handlers with EasyApache 4 is available at:

Staff Member

You can customize the profile to include DSO or suPHP via "WHM >> EasyApache 4" if you prefer to use Web Host Manager. Once you do this, the following document explains how to manage your PHP handlers: