
12th August 2011, 21:50
|
|
Junior Member
|
|
Join Date: Oct 2008
Location: Bucharest, Romania
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Change the location of the clients on ISPConfig3
Hello everyone,
I need to change the location of the clients from /var/www to /home, well I've already moved the folders, created symlinks to replace the old ones, changed the settings in the ISPConfig control panel, but the problem I am facing now is to change the default location of the ftp users.
By default ISPConfig creates new ftp users to the /var/www/clients/etc. so I need to change that value in ISPConfig.
I am not sure what other values need to be changed or if any.
If anyone can help me with that that would be perfect.
Thank you all,
Alex.
|

13th August 2011, 11:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
Quote:
Originally Posted by trex
By default ISPConfig creates new ftp users to the /var/www/clients/etc. so I need to change that value in ISPConfig.
|
Doesn't it work with a symlink?
|

13th August 2011, 11:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,052
Thanks: 697
Thanked 4,245 Times in 3,258 Posts
|
|
Quote:
|
I need to change the location of the clients from /var/www to /home, well I've already moved the folders, created symlinks to replace the old ones, changed the settings in the ISPConfig control panel, but the problem I am facing now is to change the default location of the ftp users.
|
You are aware that this will cause suexec to stop working, so that websites scripts can not run anymore under the correct user?
Quote:
|
By default ISPConfig creates new ftp users to the /var/www/clients/etc. so I need to change that value in ISPConfig.
|
Make sure that you cahnged the paths in ISPConfig under System > server settings > web
|

13th August 2011, 15:01
|
|
Junior Member
|
|
Join Date: Oct 2008
Location: Bucharest, Romania
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
|
|
@Falko
Yes a symlink worked for the web part. I was referring to something else (I will detail below).
@till
I was unaware that that will screw up suexec (that is way I asked what else do I need to change to make everything work).
By default ISPConfig creates new ftp users to the /var/www/clients/etc. folder I would like to change that default value displayed in ISPConfig to /home/clients/etc. so I dont have to edit it every time I created a new user.
Can I make all these modifications and still have a valid working server or should I just remake the whole server and have my /var/ on a larger disk.
I wanted to have all the clients on a larger disk independent of the main disk. But now I'm not sure I can do that without messing up ISPConfig or some parts of it.
So I am asking for your advice on what will be the best practice for this. (I intend on using this to start a micro-hosting company, as I dont have the necessary funds to buy a corporate solution, besides I dont like corporate solutions, I find ISPConfig to be more elegant in many ways than other corporate solutions.)
I am at the beginning of this long journey and I am sure that there are alot of things I am doing wrong, but I can learn by asking seasoned experts like your self's that know exactly what should or shouldn't be done.
I want to thank you all for your replies and for your future assistance.
And sorry I posted my thread in the wrong section.
Cheers,
Alex.
|

13th August 2011, 23:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,052
Thanks: 697
Thanked 4,245 Times in 3,258 Posts
|
|
Quote:
|
I was unaware that that will screw up suexec (that is way I asked what else do I need to change to make everything work).
|
The suexec path is compiled into apache, so you cant change that. The only option is to compile your own apache with a different suexec path. But then you loose the ability to update your whole system from the Linux repositories.
Quote:
|
By default ISPConfig creates new ftp users to the /var/www/clients/etc. folder I would like to change that default value displayed in ISPConfig to /home/clients/etc. so I dont have to edit it every time I created a new user.
|
I explained in post #3 where this can be configured. But I wont do that if I were you, as you would have to recompile apache then too.
My recommendation is to reinstall the server so that it has a large /var partition as /var contains the website, mysql and email data on Linux servers. Large /home partitions are only needed on desktop systems, on web servers, the /home partition is normally empty.
|

14th August 2011, 00:04
|
|
Junior Member
|
|
Join Date: Oct 2008
Location: Bucharest, Romania
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
|
|
ok till, thank you very much for your answer since this is my only option without making anymore damage  I'll re-do the whole system.
Thanks,
Alex.
|
|
The Following User Says Thank You to trex For This Useful Post:
|
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 08:49.
|
Recent comments
10 hours 42 min ago
13 hours 9 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 7 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 9 hours ago
2 days 10 hours ago