Apache mod_userdir Tweak causes account suspension

digitaliway

Active Member
Feb 17, 2015
33
3
58
cPanel Access Level
Root Administrator
CLOUDLINUX 7.4 standard cpanel v66.0.23

in development I always access sites by user name ( http://domain.com/~accountname/) and all of the sudden over the past week all accounts I access by username show SUSPENDED.

Enable mod_userdir Protection is CHECKED and I have tried to EXCLUDE PROTECTION for some accounts and no changed. and yes after each change I restarted apache and phpfpm

what could be causing this account suspension and how do i resolve this?

screen of my config
Image 2017-09-28 at 1.33.19 PM.png
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
and yes after each change I restarted apache and phpfpm
Hello,

Can you verify if you are using PHP-FPM for these accounts? If so, note that the CGI, FastCGI, and PHP-FPM PHP Handers do not allow you to use the Apache mod_userdir module.

Thank you.
 

digitaliway

Active Member
Feb 17, 2015
33
3
58
cPanel Access Level
Root Administrator
all of my accounts on the server are using PHP-FPM and most are set to ea-php56 and PHP-FPM set to "ON" with standard pool settings using MultiPHP Manager. this is how it always was setup and I was able to access accounts with account name up to about a week ago from what I can tell.
 

digitaliway

Active Member
Feb 17, 2015
33
3
58
cPanel Access Level
Root Administrator
I opened a support ticket becasue this is EXTREMELY critical i get this working. All development has stopped becasue I have no access to sites. Your Support Request ID is: 8904599
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

To update, it looks like rebuilding the Apache configuration file solved the issue:

Code:
/scripts/rebuildhttpdconf
Thank you.