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.

Where to enable and disable ../domain.com/~user/

Discussion in 'General Discussion' started by MarcelB, Jan 29, 2007.

  1. MarcelB

    MarcelB Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Where can I enable and disable the temporarily access to the website for new accounts through the IP-address like:
    http://123.456.789/~username/

    And the second question: is it a security risk to enable it.
     
  2. maggy

    maggy Active Member

    Joined:
    Jun 9, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    your question is kinda confusing

    but you can use account suspension to disable an accounts website
     
  3. 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 know if you don't have mod_userdir enabled, users can use this to thwart bandwidth control measures and thus use up your bandwidth without it being logged to their account as bandwidth usage.

    To enable mod_userdir in cPanel 10.9.x, login to WHM and on the left side of the screen scroll down past the "Security" header and click on the "Tweak Security" link. There you will find several security measures you can enable, including mod_userdir.
     
  4. MarcelB

    MarcelB Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Let me try to explain what I mean.

    If you create a new account with a new domain it takes a while before the website can be reached with the browser through http://www.domain.com

    In the meantime the customer can access the website through http://123.456.789/~username/

    I know it is possible to enable or disable this function, but don't know where to do this.


    Hope this make the question more clear.
     
  5. MarcelB

    MarcelB Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Thanks David,

    that's the place to change this setting.

    Sorry about the previous post, didn't notice you already posted the answer.
     
  6. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    I HIGHLY recommend you use this option ONLY with phpSuEXEC, otherwise I guarantee you anyone can access your home dir and any other account on your server....

    If you have any doubts about this then you can talk with me in PM's and setup a tmp accnt or something so I can show you.
     
  7. DarkForce

    DarkForce Registered

    Joined:
    Mar 21, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Really sorry for digging up such an old thread but I faced this issue few days back..

    So, just interested, is there any backend file for this configuration?
    Thanks.....
     
  8. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    mod_userdir

    http://ip_address/~cpaneluser is provided by mod_userdir, an Apache module.

    This thread is very old and it mentions phpSuExec, which is no longer used in current versions of cPanel. It has been replaced by suPHP.

    You can effectively disable mod_userdir or allow its use by only certain accounts by using Main >> Security Center >> Apache mod_userdir Tweak.

    What, specifically, do you want to change about the configuration? I may be able to better guide you if I know what part of the configuration you would like to change.
     
Loading...

Share This Page