The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    37
    Likes Received:
    0
    Trophy Points:
    6
    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:
    38
    Have you restarted the apache server after enabling the mod_userdir protection for the particular user.
     
  3. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    thanks for your reply...
    yes, I did.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    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