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.

http://ip/~username/ can't visit

Discussion in 'General Discussion' started by levilee, Dec 20, 2012.

  1. levilee

    levilee Member

    Joined:
    May 11, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hi,

    I have created an account in my cPanel, now i want to use the temp URL http://ip/~username/, but found it redirect to httpd://www.ip/~username/. this leading to this temp URL can't visit..
    I haven't point my domain to this server.. so the temp URL is import for me.. Can some help about it?

    Best Regards,

    Levi
     
  2. bbrink68

    bbrink68 Active Member

    Joined:
    Nov 27, 2012
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Edit your host file on your local computer. You can find out how to do it on google.
     
  3. Travis

    Travis Active Member
    Staff Member

    Joined:
    Apr 24, 2002
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    cPanel Main Office
    cPanel Access Level:
    Root Administrator
    Hiya!

    In EasyApache you would need to disable mod_userdir protection.

    WHM >> Apache Mod_userdir tweak >> Disable mod_userdir protection
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I would suggest instead to, Exclude Protection for that one account instead of simply disabling mod_userdir.

    The redirection is going to www.ip though, this seems strange to me for some reason. Makes me think you've got something else configured incorrectly or thats a typo in your first post.
     
  5. ZacharyR

    ZacharyR Member

    Joined:
    Nov 25, 2012
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Devon, UK
    cPanel Access Level:
    Root Administrator
    Yes, enable Mod_userdir tweak and it'll work. :)
    This is usually enabled by default or were you perhaps following the instructions of CSF?
    Which, for your information, recommends that you disable this feature. Anyway, enable it.

    I can see in your cPanel/WHM Access Level it says "Reseller Owner". ;)
    If you're a reseller you will probably have to ask your host to enable it.
    But bear in mind that not all hosts are prepared to enable this feature.
    So if they say no they will probably provide you with a very good reason.
     
    #5 ZacharyR, Dec 27, 2012
    Last edited: Dec 27, 2012
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    We can assume it's already enabled, by the OP above and this thread's title.

    That's not correct. From CSF Security Check:
    "To prevents users from stealing bandwidth or hackers hiding access to your servers, you should check WHM > Security Center > mod_userdir Tweak"


    You'll need to Exclude Protection for the account you want to be able to do this with. The reason a host wouldn't want to Exclude Protection on your account might be the same reason that's posted in WHM:

    More Info and warnings on all this can be found in the docs located here:

    Apache mod_userdir Tweak - cPanel Documentation


    Nice sig, ZacharyR.
     
  7. ZacharyR

    ZacharyR Member

    Joined:
    Nov 25, 2012
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Devon, UK
    cPanel Access Level:
    Root Administrator
    My bad. Yes, CSF does indeed recommend to "enable" this feature.
    When I said "disable" I was thinking about "disabling" IP/~username :p
    But of course, to achieve that you ENABLE the tweak that DISABLES it.
     
Loading...

Share This Page