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!

Apache mod_userdir Tweak causes account suspension

Discussion in 'Security' started by digitaliway, Sep 28, 2017.

Tags:
  1. digitaliway

    digitaliway Member

    Joined:
    Feb 17, 2015
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    3
    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
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,204
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. digitaliway

    digitaliway Member

    Joined:
    Feb 17, 2015
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    3
    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.
     
  4. digitaliway

    digitaliway Member

    Joined:
    Feb 17, 2015
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    3
    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
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,204
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

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

    Code:
    /scripts/rebuildhttpdconf
    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