PDA

View Full Version : change file location


handal
April 14th, 2009, 04:57 PM
i got a problem ehcp put the dafult location for ftp and domain /var/www/vhosts/domain.com - or some thing like it, my question is how do i move the file folder to /home/user/server/domain.com

i need to do this due to i have a dedibox that one has 600mb on /var fold and 500gb in the home folder.

one more thing is ther any way to manualy set up FTP accounts maby with a gui? or is it youst troug the creat domain

Thanks ( i know my english typing issent the best[Norwegian] )

bvidinli
April 15th, 2009, 09:56 AM
1. The domain/directory order is hard coded in classapp.php file. There are afew functions that deals with those domains. They can be modified if you really need it, but not so easy.

2. Another alternative way to achive your goal is to put symbolink link for /home/anydir in /var/www/vhosts.. i think symlinking may solve your problem.

3. manual ftp can be done as described here: http://www.ehcp.net/?q=node/506
I plan to fully integrate it in ehcp gui, that can easily be done... soon..

See you.