Changing paths

Hey i need to change the paths of ehcp

Let me try to show u how u mean -

in /etc/apache2/sites-enabled

I change DocumentRoot /var/www

To DocumentRoot /home/var/www

and

to

After i do this ehcp no longer works how can i fix edit the ehcp?

Thank you

You changed paths of apache,
so, you need to edit apachetemplate file in /var/www/vhosts/ehcp
to reflect your changes,

after editing apachetemplate file, then, you need to do a "sync domains" in options menu..

let me know if this solved your problem.

After i did them edit i can not access the ehcp pannle, do i need to move all the files in /var/www/vhosts/ehcp

to the new path?

no, the problem is,
since you edit paths first time, and apache failed to start,
then you cannot reach apache, so cannot reach panel,

the solution should be:
fix apachetemplate then,
in console,
1- make sure your panel daemon running, if not, or to be sure, run: /etc/init.d/ehcp restart
2- run mysql console, by mysql -p
then in mysql console:
use ehcp;
insert into operations (op)values('syncdomains');

This will manually issue a syncronize domains command to ehcp daemon, and, if your current apache template and apache conf files correct, your apache will start successfully..
to check/see/debug real operation of ehcp daemon,
first in another terminal, enter: tail -f /var/log/ehcp.log, this will show all operations done by ehcp daemon.
then, in other terminal, repeat above statements..

hope this solves...
if you cannot solve, i can connect by ssh and fix.

How can i talk to u m8, i tryed but did not work for me, how can i talk via live chat?

Thank you

msn/email: info@ehcp.net or ehcpdeveloper@iyibirisi.com
gtalk/skype/yahoo: ehcpdeveloper

So my new domains will be created in /var dir? I have space for domains in /home dir. That's why I need to move www to /home