mod_userdir Tweak Print

  • 4

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).

Steps
  1. To access the Server Setup Menu, click on Server Setup, on the main screen of your WebHost Manager interface. Then, click on Tweak Security.
  2. Click on Configure in the mod_userdir Tweak section.
  3. Click on the Checkbox next to Enable mod_userdir Protection to enable mod_userdir Protection.
  4. Click on a checkbox next to a domain's name to allow them to access their domain using ~username, if necessary.
  5. 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.
  6. Click on Save

Was this answer helpful?

« Back