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.
1261
SSL / Re: SSL with subdomains, wildcard problem
« on: August 25, 2017, 09:14:09 PM »
or simply rename all your certificate files (crt, key and bundle) and install it for every domain/subdomain you need.
example:
rename: *.example.crt to wildcard.example.com
command example
... do the same for other files also
example:
rename: *.example.crt to wildcard.example.com
command example
Code: [Select]
mv \*.example.crt wildcard.example.com
... do the same for other files also
1262
Apache / Re: creating new files causes 500 error
« on: August 25, 2017, 09:08:03 PM »
are you using the username of the account owner for ssh connection ?
if you are using the account owner account for ssh then the only issue you still can have with the permissions is that the files have incorrect permissions.
please note that suphp requires permissions 755 for folders and 644 for files, having anything higher then this numbers will be invalid and rejected by suphp security.
if you are using the account owner account for ssh then the only issue you still can have with the permissions is that the files have incorrect permissions.
please note that suphp requires permissions 755 for folders and 644 for files, having anything higher then this numbers will be invalid and rejected by suphp security.
1263
Updates / Re: After updating today cwp crashes
« on: August 25, 2017, 09:02:38 PM »
you should check the logs for any issue you have, without log info nobody can't help you.
You can find CWP log paths here (CWP server logs)
http://wiki.centos-webpanel.com/service-log-paths
You can find CWP log paths here (CWP server logs)
http://wiki.centos-webpanel.com/service-log-paths
1264
CSF Firewall / Re: Csf Firewall Urgent Problem
« on: August 25, 2017, 08:59:12 PM »
you can also add your custom rules into csf (if needed) but I would recommend using /etc/csf/csf.conf you have almost all needed there
Before CSF Rules
csfpre.sh: Create file /etc/csf/csfpre.sh and add following command.
After CSF Rules
csfpost.sh: Create an file /etc/csf/csfpost.sh and add following command.
Restart CSF
use this command to restart csf and to check your rules
Before CSF Rules
csfpre.sh: Create file /etc/csf/csfpre.sh and add following command.
Code: [Select]
iptables -I INPUT -s 1.2.3.4 -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT
After CSF Rules
csfpost.sh: Create an file /etc/csf/csfpost.sh and add following command.
Code: [Select]
iptables -I INPUT -s 1.2.3.4 -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT
Restart CSF
use this command to restart csf and to check your rules
Code: [Select]
csf -r
1266
E-Mail / Re: cwp7 roundcube location?
« on: August 25, 2017, 08:50:19 PM »
Location is:
/usr/local/cwpsrv/var/services/roundcube/
/usr/local/cwpsrv/var/services/roundcube/
1267
Scripts / Re: Script or api to create user
« on: August 25, 2017, 08:49:05 PM »
more detailed instructions can be found here
http://wiki.centos-webpanel.com/cwp-account-api
http://wiki.centos-webpanel.com/cwp-account-api
1268
Apache / Re: How to disable suphp logs?
« on: August 25, 2017, 08:47:47 PM »
try to edit suphp configuration file
/usr/local/etc/suphp.conf:
logfile=/usr/local/apache/logs/suphp_log
loglevel=info
logfile:
Specifies path to logfile. If not specified, the compile-time value is
used.
loglevel:
One of "info", "warn", "error", "none".
Specifies messages of which classification should be logged.
Defaults to "info".
so by this instructions you would need to replace "loglevel=info" to "loglevel=none" in the file /usr/local/etc/suphp.conf.
/usr/local/etc/suphp.conf:
logfile=/usr/local/apache/logs/suphp_log
loglevel=info
logfile:
Specifies path to logfile. If not specified, the compile-time value is
used.
loglevel:
One of "info", "warn", "error", "none".
Specifies messages of which classification should be logged.
Defaults to "info".
so by this instructions you would need to replace "loglevel=info" to "loglevel=none" in the file /usr/local/etc/suphp.conf.
1269
CentOS 7 Problems / Re: Migrate website
« on: August 25, 2017, 08:44:07 PM »
if subpages don't work then this can be related with the .htaccess file, try to copy it from the old server, here is the example for wordpress
filename: .htaccess
filename: .htaccess
Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
1270
CentOS-WebPanel GUI / Re: I got Error by adding domain name
« on: August 25, 2017, 08:42:02 PM »
this looks like a package limit for your account, try increasing limit of addon domains for the package that account uses.
1271
SSL / Re: Transfer from Letsencrypt Manager to SSL Cert Manager
« on: August 25, 2017, 08:40:30 PM »
autossl is using letsencrypt but its integrated into ssl manager as a newer version of certificate installer.
1272
CentOS 7 Problems / Re: (HY000/1045): Access denied for user postfix@localhost
« on: August 21, 2017, 01:22:18 PM »
you need to check that postifx user and password is correctly set for all scripts in:
/etc/postifx
/etc/dovecot
/usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php
/etc/postifx
/etc/dovecot
/usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php
1273
How to / Re: Please Help me to Remove mod_pagespeed
« on: August 21, 2017, 01:17:47 PM »
try checking if the rpm from the instructions was installed and if you got any error, without output its hard to know 

1274
Apache / Re: creating new files causes 500 error
« on: August 21, 2017, 01:14:02 PM »
if you want to have correct permissions than its recommended to upload files by using FTP and user credentials.
1275
CentOS-WebPanel GUI / Re: How cwp gui work ?
« on: August 21, 2017, 01:06:48 PM »
cwpsrv is used for cwp and not apache, apache is only for sites.
the command is
service cwpsrv status/start/stop
the command is
service cwpsrv status/start/stop