Apache's mod_userdir allows users to view their sites by entering a tilde(~) and their username as the URL on a specific host. For example http://test.cpanel.net/~fred will bring up the user Fred's domain. The disadvantage of this feature is that any bandwidth usage used by this site will be put on the domain it is accessed under (in this case test.cpanel.net). Mod_userdir protection prevents access to a domain through domain.com/~user. You may however want to disable it on specific virtual hosts (generally shared SSL hosts).
- To access the Server Setup Menu, click on Server Setup, on the main screen of your WebHost Manager interface. Then, click on Tweak Security.
- Click on Configure in the mod_userdir Tweak section.
- Click on the Checkbox next to Enable mod_userdir Protection to enable mod_userdir Protection.
- Click on a checkbox next to a domain's name to allow them to access their domain using ~username, if necessary.
- Enter the name of any user you wish to be able access the domain using ~username, other than the domain's owner, in the blank field next to the domain's name, if necessary.
- Click on Save