ehcp Ver 0.29 Beta Test

New version of ehcp is about to release.
Tests being continued,
To test/get newest ehcp, download and install from
Send us your bug reports and suggestions...

Whats new in this version:
installer improved,
Bulk domain add - Add all domains in single step,
Add multiple domains to an ftp account,
Add domain to existing ftp account,
Add mysql db to existing mysql user and vise versa,
Domain redirect to an url
Advanced: Intro to multi-server concept, support for separate mysql server for users
Many minor bug-fixes and enhancements,
improvement to easy script installs, with 27 scripts/programs listed at
English, Spanish and Turkish files for default template included



Just discovered a possible security issue.
If I go to my server IP adress and put /vhosts after, I can list directories with logs etc.
I hope this is corrected soon. I am running 0.28.

Best regards Rune T. ,Norway

Thank you for your security report.
Fixed in ehcp installer, will be available with version 0.29, which is under test now..

Manual fix:

replace your /etc/apache2/sites-enabled/default

with following lines:

NameVirtualHost *
<VirtualHost *>

DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None

<Directory /var/www/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

<FilesMatch "access_log|error_log">
Order allow,deny
Deny from all

ErrorLog /var/log/apache2/error.log
LogLevel debug
CustomLog /var/log/apache2/access.log combineddefault


Thanks for quick reply ;-D

you can download newest test from link above this page, which includes security fix.

and the secority issue I told about before seems to be fixed.


Is there any issues that I should consider or can I just install on top of the current installation?

There is no upgrade program/script yet... probably will not be..

Look here: for upgrade of ehcp

You may do as follow:
copy files ontop of any previous version,
then, login onto your system,
do some operations on different things in ehcp, such as add domain, add email and so on..
You will see some mysql errors,
fix your mysql tables according to mysql error you see, that is, add necessary fields as describe in ehcp.sql.

Look at too
see you

just overwrite new files
except config.php
then use your ehcp
when you got mysql errors , fix your mysql table accordingly, by adding new columns, if any

Question: amm and the websites wil work or i will hawe to configurete them ?
yes web sites will work completely...
only ehcp will show some errors..

i just play arround with my EeePC (win-xp)
i installed thru wubi the ubuntu system(intrepid)
all works fine eaven the ehcp (o.29) installation and access to ehcp
i just can´t start the ehcp daemon, it give a error like:
root@ubuntu:~# /etc/init.d/ehcp start

starting ehcp..
/etc/init.d/ehcp: 62: ./ Permission denied
root 10228 0.0 0.4 7756 4868 pts/1 R+ 12:10 0:00 python /etc/init.d/

?any idea what it could be?

did you installed ehcp with root privileges ? or with sudo ?
if yes,
on command line:
chmod a+x /var/www/vhosts/ehcp/*.sh

or you may just run:
cd /var/www/vhosts/ehcp/
php index.php daemon

thank you!
the chmod did the trick

chmod a+x /var/www/new/ehcp/*.sh
/etc/init.d/ehcp start
It's ok!

Any screens of the beta version ?

coming soon..

Okeeeej gratz :D

in fact, ehcp files are replaced with ehcp 0.29, so, it is downloaded now,
After a few days, i plan to announce it to public, after seeing results of current installs...

see you.

very nice . I love ehcp . simple to install ... :)

my server: ehcp 0.29

I congratulate you, that you tried and liked it..
You may write your suggestions, critics and bug-reports, to further simplify ehcp installation and usage.
I want to integrate most wanted hosting/server features inside ehcp with easy implementation..

There are some features that needs many work and needs much system resources, i dont prefer them.
Many features of ehcp are implemented in a few lines of php code, which uses very little system resources...

With ver 0.29, i think most exciting feature is bulk add domain, which gives us opportunity to setup our business in minutes..