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.

user account w/ public_html

Discussion in 'General Discussion' started by mpregent, Jan 17, 2005.

  1. mpregent

    mpregent Member

    Joined:
    Jun 28, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I created a standard linux user account on my server and i want it to have public_html access on the internet. It created the folder 'public_html' but I cant access it from the Internet. I keep getting a 404 error.

    Whats wrong?? Any help would be appreciated

    Thanks,

    Matt
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you create it manually and not as a cPanel account, then you'll have to set it up yourself. That is, create a VirtualHost container for it within httpd.conf. If you don't know how to do that, then I would suggest that you delete the user account and create it properly through WHM.
     
  3. mpregent

    mpregent Member

    Joined:
    Jun 28, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I dont want to create a full cpanel account. I just want a normal user to have this address www.domain.com/~user/

    I read on apache website that setting this "UserDir /home/*/public_html" would do it but its not...

    any ideas?
     
  4. mpregent

    mpregent Member

    Joined:
    Jun 28, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    fixed :)
    chmod o+x did the trick
     
Loading...

Share This Page