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!

mod_userdir setup problems

Discussion in 'General Discussion' started by 8p-design, Aug 13, 2009.

  1. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    42
    Likes Received:
    1
    Trophy Points:
    158
    hi,

    I want domain1 to access via xxx.xxx.xxx.xxx/~domain1
    but I don't want domain2 to do so.

    So in "Tweak mod_userdir Security"
    - I have CHECKED Enable mod_userdir Protection at the top
    - I have checked the Exclude Protection for domain1

    but it does not work
    any clue?

    thanks!
     
    #1 8p-design, Aug 13, 2009
    Last edited: Aug 13, 2009
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    Have you restarted the apache server after enabling the mod_userdir protection for the particular user.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    42
    Likes Received:
    1
    Trophy Points:
    158
    thanks for your reply...
    yes, I did.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I had to do some research to determine why this wasn't working for you. Here's how mod_userdir protection works:

    - When you use the option for "Enable mod_userdir Protection," by default, no one can access any site using http://AnythingOnYourServer/~username

    - Excluding protection for a specific domain means you can go to http://ThatDomain/~anyUser - that user which is excluded is no longer protected from having others abuse their bandwidth

    - To have users only be able to use http://IpAddress/~theirUsername, exclude protection for "DefaultHost (nobody)"
     
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