Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mpregent

    mpregent Member

    Joined:
    Jun 28, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    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:
    151
    fixed :)
    chmod o+x did the trick
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice