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/ not working

Discussion in 'General Discussion' started by phantom, Feb 23, 2004.

  1. phantom

    phantom Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    Hi,
    One of our slave machines is having a problem. When you visit the servername/hostname in a broswer, one of our clients sites shows up.

    Also, when you try to access a name based account via the IP

    http://i.p.address/~user/
    or
    http://i.p.address/~user

    you get a 404
    I
    ve tried everything I can think of. Any ideas?

    Thanks
     
  2. phantom2

    phantom2 Well-Known Member

    Joined:
    Jan 3, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Anybody have an answer to this?
     
  3. 65535

    65535 Member

    Joined:
    Jul 15, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Trying turning off Canocial Names in httpd.conf

    Rus
     
  4. lukis

    lukis Member

    Joined:
    Feb 2, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I had the same problem
    When I have submited ticket about this to support they fixed this... I think redirecting my main domain name to main ip fixed this problem.
     
  5. PbG

    PbG Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    click Tweak Security

    Disable:

    mod_userdir Tweak

    Apache's mod_userdir allows users to view their sites by entering a tilde(~) and their username as the uri on a specific host. For example http://test.cpanel.net/~fred will bring up the user fred's domain. The disadvantage of this feature is that any bandwidth usage used by this site will be put on the domain it is accessed under (in this case test.cpanel.net). mod_userdir protection prevents this from happening. You may however want to disable it on specific virtual hosts (generally shared ssl hosts.)


    Let me know if this helps . . .
     
Loading...

Share This Page