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!

stopping access via http://hostname/~username

Discussion in 'General Discussion' started by BigLebowski, Jun 19, 2008.

  1. BigLebowski

    BigLebowski Well-Known Member

    Joined:
    Dec 24, 2007
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    56
    hi there

    I would like to know how to stop people accessing http://www.myserversname.com/~customername

    I have read that dabbling with CanonicalName in httpd.conf can help,
    but I am wary since this can apparently nobble Front Page.

    Any help/advice appreciated.

    Dude
     
  2. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    318
    Go into WHM >> Security >> Security Center and make sure the 'Apache mod_userdir Tweak' is enabled. In that same interface, you can allow specific sites access with /~username if you need to.
     
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