HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Changing names from directorys to individual and move them to other locations (http://www.howtoforge.com/forums/showthread.php?t=45301)

wiseguy 25th April 2010 16:28

Changing names from directorys to individual and move them to other locations
 
Hallo,

Maybe its possible to change for example the directory from a customer (login name is mmueller) to this login name instead of client1.

The same with websites:
The user mmueller has a site named mueller.org and this is located in his directory /var/www/clients/client1/web1. Maybe its possible to change web1 to mueller.org

So what I want is to rename all users like I want:
Code:

/var/www/clients/client1/web1 -> /var/www/clients/mmueller/mueller.org
And I want to change it later: For example there is an other customer who wants to take the site mueller.org, his login name is amueller, and now I want to change the location from this web site as following:
Code:

/var/www/clients/mmueller/mueller.org -> /var/www/clients/amueller/mueller.org
Are this thinks possible? How can I change this in the ISPConfig3 Datebase so that I can use this behavior, if its not possible to do that with ISPConfig3?

till 25th April 2010 16:36

Quote:

Are this thinks possible?
If you write a new ispconfig apache plugin and rerite some of the forms, then yes.

We have not chose this type of setup as it will cause you a lot of trouble. For example if the user mueller changes his username or if the website gets a temporary domain during development and then the domain gets changed when the site goes life, you will destroy the installs of most vms systems in your kind of setup as the base path changes. So ispconfig uses a much smarter solution based on generiv folder names with symlinks for the domain names for easy shell navigation.


All times are GMT +2. The time now is 20:43.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.