Changing paths
Submitted by judgey on Fri, 02/20/2009 - 12:19
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
Forums:
ehcpdeveloper
Fri, 02/20/2009 - 12:23
Permalink
Re: Changing paths
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.
judgey
Fri, 02/20/2009 - 13:00
Permalink
After i did them edit i can
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?
ehcpdeveloper
Fri, 02/20/2009 - 13:31
Permalink
no, the problem is, since you
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.
judgey
Sat, 02/21/2009 - 15:04
Permalink
How can i talk to u m8, i
How can i talk to u m8, i tryed but did not work for me, how can i talk via live chat?
Thank you
ehcpdeveloper
Sat, 02/21/2009 - 23:37
Permalink
msn/email: info@ehcp.net or
msn/email: info@ehcp.net or ehcpdeveloper@iyibirisi.com
gtalk/skype/yahoo: ehcpdeveloper
djanym
Thu, 12/10/2009 - 22:46
Permalink
So my new domains will be
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
ehcpdeveloper
Fri, 12/11/2009 - 12:05
Permalink
answered in
answered in http://www.ehcp.net/?q=node/548