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.
16
SSL / Re: Automatically on https
« on: May 23, 2018, 03:51:46 PM »
use .htacces on apache
or https vhost redirect on nginx
or https vhost redirect on nginx
17
SSL / Re: Transfer from Letsencrypt Manager to SSL Cert Manager
« on: February 17, 2018, 06:12:59 PM »uninstall old LE manager and reinstall the certs with auto ssl
Can I do this is reverse direction ?
I have about 10 sites use SSL from old LE Manager.
Can I first update SSL for those sites from AUtoSSL generator and then remove LE Manger ??
Dude, you should remove old certificates first. Restart apache, then use the new method ("SSL Cert manager"), choose AutoSSL tab, then install the new certificate. It's super easy. If your are having problem while verifying certificate, try temperately remove .htaccess at public_html folder
A final step, restart apache.
18
SSL / Re: If i force SSL across my domain will I loose the benefits of Varnish/Nginx?
« on: February 17, 2018, 06:00:08 PM »
Yes, varnish does not support SSL.
However, you can set
nginx SSL : port 443 (as proxy server). You force https across domain at this step. Don't force https at back-end (Apache). Search Google how to force https on nginx
varnish : cache server
apache : backend
Visitor -> Nginx (https) -> Varnish -> Apache (dont force https using .htaccess at this step)
I confirm had been succeeding install https together with varnish. Please note, varnish only caches static content (images,js, CSS , html, text...), if you want to cache dynamic content, you need to cache it on your back-end first.
However, you can set
nginx SSL : port 443 (as proxy server). You force https across domain at this step. Don't force https at back-end (Apache). Search Google how to force https on nginx
varnish : cache server
apache : backend
Visitor -> Nginx (https) -> Varnish -> Apache (dont force https using .htaccess at this step)
I confirm had been succeeding install https together with varnish. Please note, varnish only caches static content (images,js, CSS , html, text...), if you want to cache dynamic content, you need to cache it on your back-end first.
19
CentOS 7 Problems / Re: 404 Not Found on any /home/user/public_html/uploads Directory
« on: February 07, 2018, 07:49:44 AM »
check .htaccess file in your public_html folder, it might cause the 404 (maybe there is a rewrite rule)
20
CentOS 7 Problems / Re: upload_max_filesize
« on: February 07, 2018, 07:40:05 AM »Hello,
Thanks for your help! But now i have an other issue. When tried the install the X2Engine plataform, it told me this error: The path defined in session.save_path () is not writable.
Could you help me please?
Thank´s a lot!
Your question is not related to CWP. However, you might locate where is the configuration file for your application, then follow the path and make sure to change permission 777 (or 755) to the folder.
21
E-Mail / Re: How can I to change the quota in mailbox? It's full
« on: January 29, 2018, 08:47:24 AM »
Change the package limits then assign the account to that new package
22
Nginx / Re: NGINX Proxy + Apache not allowing POST requests
« on: January 15, 2018, 09:02:40 AM »
I have no problem with nginx POST/GET requests
mod_security just gives you more headache! maybe try to disable it.
suggestion: You can do a simple test on 'contact form' for POST and GET request.
mod_security just gives you more headache! maybe try to disable it.
suggestion: You can do a simple test on 'contact form' for POST and GET request.
23
Nginx / Re: Apache
« on: January 15, 2018, 08:58:26 AM »
chmod 755 or 777 to that folders (use FTP or SFTP software, or SSH command)
24
Nginx / Re: How i can change nginx config template
« on: January 15, 2018, 07:33:48 AM »I use apache + nginx + varnish web server option. I have configured my nginx and varnish with port ssl 443 in nginx. But when I rebuild apache vhost, nginx and varnish configuration are also rebuilt. so I have to reconfigure nginx and varnish. I want when I rebuild apache vhost, it rebuilds the nginx vhost configuration with my template.
any solution?
Go to Apache settings > edit Apache vhosts
You will see the section "CWP Configuration Templates for nginx_proxy_vhost"
Customize it then save, Don't forget to rebuild all templates and restart Nginx.
You are also able to change other templates (Apache, apache_ssl, nginx_proxy_vhost_ssl, named_conf, named_new_dns_zone) All in one place
25
CentOS-WebPanel GUI / Re: Web UI doesn't list already existing users
« on: January 12, 2018, 05:15:27 AM »
Use CWP to add a new account (meaning linux user, user group, a user record in CWP database and other related stuff), dont use SSH command line
26
Apache / Re: default path
« on: January 12, 2018, 05:06:31 AM »all i want is actually install the wordpress on my server before point my domain to the server i need to configure some setting. i mean im gonna use with my servers ip on browser then after finish my work i will launch my site. please help me
- You should create a new account, not be using root for security reasons. Also, Imagine if you upload files using root account, all other users on server cant modify it due to permission.
- You should not install wordpress using IP, it will lead to complicated and unnecessary steps after you complete the WP installation, believe me.
27
Apache / Re: enable Gzip
« on: January 12, 2018, 04:57:31 AM »
you forgot to restart Varnish to delete all cached
very simple, just reboot the server
very simple, just reboot the server
28
Apache / Re: setting custom virtual host settings
« on: January 12, 2018, 04:54:47 AM »
Try to customize the vhost tempalte
/admin/index.php?module=file_editor&file=/usr/local/apache/conf.d/vhosts.conf
Then everytime you add an account (for each department), new vhost will be created follow the customized vhost template
/admin/index.php?module=file_editor&file=/usr/local/apache/conf.d/vhosts.conf
Then everytime you add an account (for each department), new vhost will be created follow the customized vhost template
29
PHP / Re: 100% CPU usage
« on: January 12, 2018, 04:20:49 AM »
Suggestion:
Suspend that magento account, if you see the server performance gets better, meaning the Magento app did not well coded.
Then try to install a basic wordpress, you will see the difference between apps
Suspend that magento account, if you see the server performance gets better, meaning the Magento app did not well coded.
Then try to install a basic wordpress, you will see the difference between apps
30
PHP / Re: PHP Switcher not Switching?
« on: January 12, 2018, 04:16:40 AM »
Have you tried to Install Dependencies?
/admin/index.php?module=php_selector
/admin/index.php?module=php_selector