Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4

Thread: Linux Symlinks

  1. #1
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default Linux Symlinks

    Hi.

    So when a user logs into my server they go to /home/username/ $

    I need them to be at a different place ie /var/www/vhosts/x.com/httpdocs/

    As it makes things a lot simpler, I was going to use a symbolic link, but then i wouldn't have a user's home dir, is there any work-a-round on this?
    How could this hapen to meeeeeeeeeeeeeee?lol.

  2. #2
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    /home/username/ is their linux directory, not their web directory.

    If you want to setup vhosts, look in the apache config.

    If you don't have cPanel or another control panel (IE Webmin or LxAdmin) you need to add vhosts yourself.

  3. #3
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    I have Plesk, I've set up the virtual hosts they're like this:
    /var/www/vhosts/subdomain.domain.tld/httpdocs/

    I never said /home/username/ is their web directory

    I don't want to reconfigure all that, that's why i was wondering if there was a work-a-roound of if a symlink setup would suffice in some way.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  4. #4
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    That would be too much of a pain in the ***. Just change the user's home directory to their vhost directory.

    That's about as much trouble as a symlink solution.

    Although when creating a new account in Plesk, it should generate the user, unless it has a default home directory in plesk.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •