Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - earnolmartin

Pages: [1] 2 3 ... 12
General / Re: Update Log
« on: December 01, 2018, 06:34:59 pm »
Minor update released.

Technical Help / Re: Configure my own Nameserver
« on: November 19, 2018, 08:51:28 pm »
Ok, so add "" and "" as domains to your panel.  Configure the site for one of the domains, and then redirect the other to it (all configurable in the panel).

Technical Help / Re: Configure my own Nameserver
« on: November 16, 2018, 05:40:12 pm »
Looks fine to me.  As long as is your EHCP server, and you've added "" as a domain in the panel on, other domains should be able to use and as name servers.

Is this the way you've set it up?  It's not working for you?  What exactly are you trying to do?

General / Re: Update Log
« on: September 22, 2018, 05:05:29 pm »
Minor update released.

Technical Help / Re: PHP in html file config please
« on: September 10, 2018, 04:23:59 pm »
Awesome, glad it worked.  Let me know if you run into any issues as a result of updating to the latest dev version.  These features will be released to the stable build soon.

You can always change the order of which page should load by default when a specific page hasn't been requested (usually the index file).  That also appears in the subdomain or domain templates.  You can re-order which index page loads by default and has a higher priority than the others (index.html vs index.php).  Just search for index.html in the custom template, and you should see the lines I'm talking about.

Thanks for testing it out.

Technical Help / Re: PHP in html file config please
« on: September 10, 2018, 12:58:53 pm »
Actually, could you please try updating your panel to the latest dev SVN version (instructions here and use the new custom subdomain web server template functionality?

After you've updated your panel, logout and login as admin, then select the domain you want to add a subdomain to (in your case ""), click on "Add Subdomain".  Add the "devel" subdomain.  Go back to the main domain management screen for "".  Click on "List Subdomains".  Click on the "Edit Template" icon for the "devel" subdomain. 

Replace the ProxyPassMatch lines with the following:

Code: [Select]
ProxyPassMatch ^(.*\.(php|html))$ fcgi://{homedir}/$1

Click on the "Save Template" button.

Now, make sure you follow the instructions I posted above to get php-fpm to process .html files.  It should work this way now too, and we now have custom subdomain template functionality (assuming I coded the functionality correctly, which from my initial testing, I hopefully did).

Technical Help / Re: PHP in html file config please
« on: September 09, 2018, 11:35:13 pm »
Should be doable.  However, EHCP Force Edition doesn't yet support individual custom subdomain apache or nginx templates (other than the global subdomain template which can be changed here index.php?op=manageglobalwebtemplates)

Thus, for your scenario, I recommend adding the subdomain as a new domain under your account.  You would configure both "" and "" as separate domains (do NOT create "" as a subdomain in the panel under the "" domain).  Using this configuration, "" is still technically a subdomain, but it is setup in the panel as a domain.  This will allow you to edit the custom apache2 template just for "".  Log in as the admin user for the EHCP panel.  Select the domain you want to use a custom apache2 template for (in your case ""), and then click on the "Edit apache2 Template" link.  Find this line (might be two or more instances if you're using SSL):

Code: [Select]
ProxyPassMatch ^(.*\.php)$ fcgi://{homedir}/httpdocs/$1

Change it to:

Code: [Select]
ProxyPassMatch ^(.*\.(php|html))$ fcgi://{homedir}/httpdocs/$1

Then, we need to allow php-fpm to process .html extensions (  So in the "/etc/php/7.0/fpm/pool.d/www.conf" file (differs depending on which version of Ubuntu you're on... could be in /etc/php5/fpm/pool.d/www.conf or /etc/php/7.x/fpm/pool.d/www.conf), add this line to the bottom:

Code: [Select]
security.limit_extensions = .php .html

Restart the php-fpm service (command differs depending on Ubuntu version):

Code: [Select]
sudo service php7.0-fpm restart

That should be it.  You never want to edit the EHCP template conf files directly (found in /var/www/new/ehcp), as any changes you make will be overwritten when the panel next syncs.  You want to use the custom template functionality in the panel to make sure your changes persist.  I hope this helps.  Please let me know.   ;D

General / Re: Update Log
« on: August 08, 2018, 11:41:03 am »
Minor update released.

Yeah, well there's no magic wand to convert old PHP scripts to be compatible with PHP7.  However, you can manually convert them which is what I do with EHCP software.  Usually, I just change software so that it is compatible with both versions to avoid any problems. 

It does suck, but the blame goes to PHP (for their stupid ways of deprecating code and not converting these deprecated functions over to the new format), and that's all you can do.

You should run one server with several virtual machines.  Then, it's no problem to run many servers on one server.

Technical Help / Re: Remote Backup Question
« on: August 08, 2018, 11:30:20 am »
It looks like your FTP server doesn't like the filename for some reason.  Looks like you'll need to be tweaking its options, but I am not familiar with Qnap, so I can't help you there.

General / Re: Update Log
« on: July 25, 2018, 05:22:56 pm »
Small update released.

General / Re: Update Log
« on: July 15, 2018, 04:36:20 pm »
Update released.

Technical Help / Re: PHPMyAdmin - Can't Login As root User
« on: July 05, 2018, 09:21:44 pm »
Fix has been implemented.

In addition to the commands in the first post, you need to run these as well if you're having problems:

Code: [Select]
sudo -i
sed -i "s#^include_once 'rootip_whitelist_functions.php';#include_once '/usr/share/phpmyadmin/rootip_whitelist_functions.php';#g" "/etc/phpmyadmin/"
sed -i "s#^include 'rootip_whitelist.php';#include '/usr/share/phpmyadmin/rootip_whitelist.php';#g" "/etc/phpmyadmin/"

To have the fix implemented automatically via an update, follow these instructions: under the "Update to Latest Code (Developer Version)"

Technical Help / Re: PHPMyAdmin - Can't Login As root User
« on: July 01, 2018, 11:32:17 pm »
I'll see if I can reproduce this issue on Ubuntu 18.04. 

General / Re: Thanks for EHCP Force
« on: July 01, 2018, 11:30:55 pm »
Thank you for supporting and using EHCP Force Edition.   ;D

Pages: [1] 2 3 ... 12