![]() |
Website path
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/inde...status%5B0%5D= 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.
|
Thank you!
But in any way. Where can i change it?) |
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 |
Quote:
Quote:
|
| All times are GMT +2. The time now is 02:32. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.