Hi. Is it possible to change website path in server config (System->Server Config->Web). I`m running Nginx at Debian 6. I have now: /var/www/clients/client[client_id]/web[website_id] I would like: /var/www/clients/client[client_username]/web[website_domain] Or something like that. Here: http://bugtracker.ispconfig.org/index.php?do=details&task_id=674&opened=128&status[0]= It`s solved, what is the right syntax for it? Thank you Tim
If you would change the path to /var/www/clients/client[client_username]/web[website_domain] then the site would be destroyed when a client changes its client name or when a client changes the domain name of a site, only placeholders that will never change can be used in this path. ISPConfig uses generioc ID's for this to ensure that the path never changes when a domain name is cahnged and adds symlinks on the shell for easier navigation by domain name instead. The available placeholders are: [client_id] [client_idhash_1] [client_idhash_2] [client_idhash_3] [client_idhash_4]
[client_idhash_1] [client_idhash_2] [client_idhash_3] [client_idhash_4] Is this placeholders the same like [client_id] ?
These placeholders split the clientID into chunks which might be nescessary if you have several thousand clients in your ispconfig cluster.
All available placeholders are listed in #2 of this thread and you can set the path which may include these placeholders under System > Server config in ispconfig.
Can I (and if so how) change the default path to /var/www? At least for the main account. (I don't plan on adding any other domains at the moment) Server Config says "Do not enable this option if your network interface is not eth0. " and mine is venet0
You can try it but it might make problems. But you ma not add more then one website then on the server as the setup will fail as soon as you add a second one. Your server is a vserver, so you can not configure the network from within the virtual machine. The network is configured on the host server.