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.

Default HTML directory (public_html)

Discussion in 'General Discussion' started by Lufa, Sep 16, 2004.

  1. Lufa

    Lufa Registered

    Joined:
    Sep 16, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi All!
    How can i change subj?
    I need to create user with home directory "/home/user", but html root directory must be "/home/user" too, not "/home/user/public_html".
    I can do it by hand, but must to be a right way (cpanel conf file or something).

    I'm newbie fro cPanel.
    Running Red Hat.

    Thank you.
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    You have to do that by hand, but where are the user's non-html files going to go? You do realize the security risks, don't you?
     
  3. Lufa

    Lufa Registered

    Joined:
    Sep 16, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Sure. You are right.
    My error.

    Default html pages will be located in
    /home/user/damain.name
     
  4. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    I am curious. What is your compelling reason not to use public_html? I do not know off-hand what if anything else will be affected by changing this value (because I have never felt compelled to change it before), but I do know that it is generally a good idea to have a compelling reason before manually changing any thing that cPanel sets up by default.
     
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Why not create a symlink to public_html?
     
Loading...

Share This Page