Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing paths
#1
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

<Directory /var/www> to <Directory /home/var/www>

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

Thank you


Restored from old drupal forum, for user uid:202 username:judgey
You may reset your password to access your new account here.
Reply
#2
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.

Restored from old drupal forum, for user uid:202 username:judgey
You may reset your password to access your new account here.
Reply
#3
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?

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#4
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.




Restored from old drupal forum, for user uid:202 username:judgey
You may reset your password to access your new account here.
Reply
#5
How can i talk to u m8, i tryed but did not work for me, how can i talk via live chat?

Thank you


Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#6
msn/email: info@ehcp.net or ehcpdeveloper@iyibirisi.com
gtalk/skype/yahoo: ehcpdeveloper


Restored from old drupal forum, for user uid:202 username:judgey
You may reset your password to access your new account here.
Reply
#7
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

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#8
answered in http://www.ehcp.net/?q=node/548


Restored from old drupal forum, for user uid:2968 username:djanym
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping