Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
ADD DOMAIN (can't find v...
Forum: Ehcp General, uncategorized yet
Last Post: RichardCrite
11-24-2024, 02:03 AM
» Replies: 29
» Views: 52,836
|
EHCP API1 error
Forum: Ehcp Development
Last Post: robind99
04-14-2023, 10:14 PM
» Replies: 4
» Views: 3
|
EHCP API Setup subdomain
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 67
|
EHCP auto startup nginx i...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
VSFTPD
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 3
» Views: 5
|
PHP failed copy
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 3
|
install echp + node js
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
About Beta Software, Ehcp...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
La marque de l'enseigne C...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 0
|
On portera une attention ...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
|
|
Email DKIM |
Posted by: robind99 - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (2)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Is there a possibility to add DKIM to the mail server?
Restored from old drupal forum, for user uid:27631 username:robind99
You may reset your password to access your new account here.
|
|
|
Information needed when asking something |
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
When you ask something for support to ehcp, please provide following information along with your question/support request:
* What is version of your Ubuntu ? (cmd: cat /etc/*ele* )
* what version of ehcp did you install ? which file ? ehcp.net/ehcp_yeni.tgz ? or latest.tgz ? (_yeni.tgz is newer beta, other is latest stable)
* Did you check log files, in /var/log, syslog etc. what logs say ? (cmd: tail -f /var/log/syslog /var/log/ehcp.log)
* Is this a freshly installed server? or a server previosly installed ?
* How did the problem occured ? when ? after what operation of yours ? (for ex: new server, appeared directly/ after adding some subdomain etc.. )
* is your ehcp daemon running ? (cmd: ps aux | grep "ehcp")
* can you login to ehcp gui ?
* what version do you see in ehcp gui ? (top right of ehcp gui, mostly)
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Set Nginx as default webserver |
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (5)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Question (shortened): How can I set nginx as default and make sure it works, not apache,
<strong>Short Answer:</strong>
The short, easy, practical way: ehcp gui -> options -> advanced -> select nginx, submit
if you do not do this, the default server of apache will be invoked in some intervals by ehcp.
<strong>Related Info:</strong>
A less known feature of ehcp is its nginx integration,
and ehcp is known to be first and only opensource hosting control panel that supports nginx directly.
Ehcp installs & configures apache & nginx while installing ehcp itself. Server admin may choose to operate on one of these web servers through ehcp gui.
ehcp installs both apache & nginx, but only one is active at a moment.
apache is default now, but server admin may set nginx as described above.
ehcp tries to configure & run nginx, then, if something goes wrong, apache is used as a fallback.
If, somehow, your server switch backs to apache, althaugh you set nginx in advanved options, then, there is something wrong in your nginx configuration. Let me know, I will explain more. You may even disable apache start code inside ehcp php code.
To set some configuration for all domains, for nginx,
edit following files:
ehcp/etc/nginx/apachetemplate.nginx
ehcp/apachetemplate
(actually the second one is used, but first is copied over second on webserver switch, as above) **
after editing, ehcp gui -> options -> sync domains
To allow/deny for some Ip, put related nginx config in these files,
You may also do this on per-domain basis like this: ehcp gui -> choose domain -> click "edit apachetemplate" (link name is confusing here, I will fix it later)
in this case, only configuration for that domain is changed.
for nginx ip denying, http://nginx.org/en/docs/http/ngx_http_access_module.html
<strong>Non-Domain configurations</strong>
above file & per-domain settings only affects domain's configurations.
To change for example, http://{serverIP}/ehcp , (that is, not domain)
you should change & sync following files:
ehcp/etc/nginx/default.nginx
/etc/nginx/sites-enabled/default
two files operates similar to description above (**)
All files in ehcp/etc are used to copy onto their counterparts in linux/ubuntu system, so, changing them according to your needs may fix some of your needs.
some file namings are confusing, like ehcp/etc/nginx/apachetemplate.nginx (as a natural result of apache-to-multi webserver transition in ehcp)
if you have more questions, let us know.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
howto fix websites-ehcp |
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
This is a short tut.
If your websites are not accessible, and you can access your ehcp gui at http://yourip/ then, go to ehcp gui-> options -> Fix Apache Configuration without ssl
However, if you are unable to access ehcp gui, try:
go to console of your server, (with ssh etc)
cd /var/www/new/ehcp (your ehcp dir)
php ehcp_fix_apache.php
this will fix apache configuration using non-ssl config.
Additional info:
May be useful, if apache webserver config is broken:
http://stackoverflow.com/questions/5474477/how-to-debug-an-apache-virtual-host-configuration
In short:
apache2ctl -S
Note that ehcp also supports nginx webserver builtin.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
run ehcp on rasperry pi |
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
An experience of ehcp user, (no mine):
----
yes you can run on raspberry pi but you must install raspdebian iso to raspberry. The reslove problem : uninstall php-cgi and change to php5 in apache2:
this problem is for internal 500
~# dpkg -l |grep php5-cgi
if you see a result then do this:
~# dpkg --purge php5-cgi
then remove cgi apt-get remove php5-cgi
and then install php5 apache module
~# apt-get install libapache2-mod-php5
~# a2enmod php5
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
ehcp ssl tips |
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
For changing to ssl,
ehcp gui->options->fix apache config with ssl
after changing to ssl, wait 30sec, go to ehcp gui->options->advanced and check if apache ssl is active ?
if there is an error, it fallbacks to non-ssl mode.
to check for errors, check /var/log/ehcp.log.
you may also send last 5000 lines of ehcp.log to me for checking.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Q&A: Upgrade Ubuntu & Ehcp |
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (2)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
After upgrading Ubuntu & ehcp, vsftpd also should work normally. We tested a few times, and I am reported that vsftpd works with _yeni installer. However, note that there is always risks when upgrading, because Ubuntu, vsftpd and other software makers may change something on the fly, realtime and we cannot update everyday. We try to update soon after something has broken.
Currently, it seems to work with all Ubuntu versions (10-12.10)
Regarding upgrade procedure,
If you are running a mission critical server, such as a commercial hosting business, I suggest you to do a full backup, because, in case of any failure in Ubuntu&ehcp upgrade, you need to fall back both. I say this because you are planning an OS&ehcp upgrade, that is, Ubuntu&ehcp upgrade.
I suggest you to upgrade your Ubuntu first, then, ehcp.
ehcp upgrade is almost copy & paste, do this, in short:
backup your config.php inside ehcp dir,
replace all ehcp files with ehcp_yeni.tgz (or whatever new version)
restore config.php
/etc/init.d/ehcp restart
ehcp gui->logout->login back (this fixes some db fields)
ehcp gui->options->fix ehcp configuration
This should satisfy regarding upgrade. If your domains work normally after upgrade, thats all.
If not, we can work on problems, if any.
Hope this is useful.
(Note: this post is written with taking permission from Q. asker, by hiding some private info, such as email&name. Not all emails are converted to forum posts here..)
>
> Hi!
>
> I read your forum post about testing ehcp-yeni for vsftp compatibility
> in Ubuntu 12.04 LTS . I would love to upgrade to a new Ubuntu release,
> that means I have to update ehcp, too, right? At the moment I run Ubuntu
> 10.04 LTS and I need to move on to 12.04 LTS.
>
> I assume upgrading Ubuntu also bares the risk that vsftp won't work
> anymore? Or is that totally secure? Anyway, what files should I
> overwrite in your opinion to do a complete upgrade, only classapp.php? I
> plan to first upgrade from ehcp 0.30.9 to 0.35.2 and if that worked
> upgrade the Ubuntu release. Or would you recommend differently?
>
> Anyway, thanks for this great software!
>
> Best regards,
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
attackers or hackers that uses ehcp, and some complains |
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hi,
somebody is asking me to stop attacking their servers/systems, with the idea/assumption that I am doing that.
Or, some others ask me to stop spamming emails..
Actually, we are not doing that, but people that attack do use "ehcp" software in their system.
We need to give following explanation to those askers (attacked/spammed people):
ehcp is a hosting control panel software, the site/server/ip that attacks uses ehcp as a software layer.
But, unfortunately, we are not owner of it (that server/site).
To learn owner of it, look at whois records. (domain whois, and also ip whois)
it is neither owned by us, nor hosted by us.
The truth is this: the hoster site is using our software (ehcp) which
is an opensource free hosting control panel.
Everybody in world can download, install and use such gpl licensed
software. Ehcp cannot be responsible for every person that uses it for harmful purposes. It is a hosting software, not specifically designed for
attacking. its purpose is hosting.
That ip address does not belong to us.
you may also try ip whois.
Please also note that, for most spammers, unsubscribing or clicking the unsubscribe link is just a way of "verifying" your email, in this case, it may be worse for you..unfortunately..
if there is anything that We can do for you, let us know.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
I want install amavis on EHCP 0.37.1.b but have error message. |
Posted by: akong - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (5)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
I have installed amavis and see follow webpage.
https://help.ubuntu.com/community/PostfixAmavisNew
But when I use gamil sent to my mailbox.It's will got error message.
Jan 15 09:17:05 web1 postfix/qmgr[22077]: A57A2401D6C: from=<ak6783@gmail.com>, size=3158, nrcpt=1 (queue active)
Jan 15 09:17:05 web1 postfix/qmgr[22077]: warning: connect to transport private/smtp-amavis: No such file or directory
Jan 15 09:17:05 web1 postfix/error[22123]: A57A2401D6C: to=<akong@aspa.idv.tw>, relay=none, delay=0.47, delays=0.45/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
How to fix it?
Restored from old drupal forum, for user uid:30183 username:akong
You may reset your password to access your new account here.
|
|
|
Move servers Instruction / Script |
Posted by: vvoltt - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hi guys
Just about to move to an upgraded server. Have over 600gb to move and am unable to use the built in backup as I don't have enough storage to store the backup file.
Just wondering if someone has a script or step by step code to move to the new server by transferring the files directly via rsync(?) or similar?
Restored from old drupal forum, for user uid:4514 username:vvoltt
You may reset your password to access your new account here.
|
|
|
|