Website path change..

Discussion in 'Installation/Configuration' started by BlackMuddler, Mar 28, 2011.

  1. BlackMuddler

    BlackMuddler New Member

    Hi ..

    In backend of ISPConfig I go to System/Server Config/Web. There is Website Path and Symlinks defined as:

    Code:
     /var/www/clients/client[client_id]/web[website_id]
    Code:
    /var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/
    Is it possible to make the following wish as standard in my setup:

    Code:
    /var/www/username/domain.com/html 
    and also have

    Code:
    /var/www/username/~public_html
    which is symlink to the domain.com/html dir.

    username is instead of client[client_id] and domain.net is instead of web[website_id].

    So if user is test and domain is rockinggood.net the statements will bee:

    Code:
    /var/www/test/rockinggood.net/html 
    Code:
    /var/www/test/~public_html
    Sorry - I'm not a programmer, so I'm not sure how to understand those [] variables and what is possible..

    Thanks in advance

    BlackMuddler
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, that not possible as the username and domain can be changed in ispconfig while the path has to be fixed for a website. so a cahnge of the username or domain wozuld break the setup. For that resaon, ispconfig uses a fixed path based on unique ID 's plus symlinks for easy shell navigation.
     
  3. BlackMuddler

    BlackMuddler New Member

    Thanks for getting back to me.. Ok - I will try to live with that :p

    BlackMuddler
     

Share This Page