Placeholders and prefixes.

Discussion in 'General' started by wyattbiker, Nov 25, 2011.

  1. wyattbiker

    wyattbiker New Member

    1. Is there a summary list of all Placeholders in ISPConfig3? I can't find them in the manual unless I read all the relevant parts.

    2. I don't like the default path and folder names names using client ids.

    I prefer to either use the domain names or client username. Has anyone else changed their default path using names instead if numbers?

    I would prefer something like:

    /var/www/[clientusername]/[domain_name]

    Would this work? Any problems configuring it this way?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) All available placeholders are used in the default paths. The placeholders are:

    [client_id]
    [website_id]

    2) The placeholders [clientusername] and [domain_name] are not supported in paths as they would break your setup as soon as the client name or domain of a website gets changed. Only placeholders can be used that can not be changed in the system after the website is created.

    For easy folder navigation on the shell, ISPConfig adds several symlinks as defined in the website symlinks field.
     
  3. wyattbiker

    wyattbiker New Member

    Would this work as the default path?

    /var/www/clients/[website_domain]

    and symlink would be

    /var/www/[website_domain]/
     
    Last edited: Nov 25, 2011
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This wont work. You can not use [website_domain] in the website path.
     

Share This Page