Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th August 2011, 21:50
trex trex is offline
Junior Member
 
Join Date: Oct 2008
Location: Bucharest, Romania
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to trex Send a message via Yahoo to trex
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 13th August 2011, 11:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by trex View Post
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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th August 2011, 11:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 13th August 2011, 15:01
trex trex is offline
Junior Member
 
Join Date: Oct 2008
Location: Bucharest, Romania
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to trex Send a message via Yahoo to trex
Default

@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.
Reply With Quote
  #5  
Old 13th August 2011, 23:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 14th August 2011, 00:04
trex trex is offline
Junior Member
 
Join Date: Oct 2008
Location: Bucharest, Romania
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to trex Send a message via Yahoo to trex
Default

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.
Reply With Quote
The Following User Says Thank You to trex For This Useful Post:
agregoraschvs8334 (28th September 2012)
Reply

Bookmarks

Tags
change, clients, directory, ftp, ispconfig

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A few questions on client's modules and limits dimas Installation/Configuration 10 10th January 2011 20:22
ISPConfig3 IMAP folders Location mybizsoft General 2 28th May 2010 13:00
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24
After change port 21 how tell it to ispconfig3... greenes Installation/Configuration 2 16th February 2010 18:15
ispconfig3 server name change blocker Installation/Configuration 1 25th May 2009 14:29


All times are GMT +2. The time now is 16:04.


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