Disabling WHM Mod_userdir for one user

719 views
asked Apr 12, 2012 in Security by jeremy (380 points)
edited Apr 12, 2012 by jeremy
Hi all

I have a user in WHM that I want to disable its mod_userdir. I used the "Exclude" option in mod_userdir setting in WHM, but nothing got affected.
All my users are on the same shared IP address.I was able to disable mod_userdir for a specific user by disabling it for all users.  But I want to disable it for only one user? How can I do that?

1 Answer

0 like 0 dislike
answered Apr 12, 2012 by expert (14,380 points)
1.From WHM: Main >> Security Center >> Apache mod_userdir Tweak
2.Tick Enable mod_userdir Protection
3.Untick every thing under column heading Exclude Protection
4.Locate the virtual host that you wish to use from the list under column heading Host.
5.Input the cPanel account username, or usernames as a space-separated list, under the column heading Additional Users.
6.Click Save, at the bottom of the page, to submit and finalize changes.
...