New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

URGENT: Giving 403 Error for new domains, also won't add long domains

Started by timworx, February 19, 2015, 12:22:59 AM

Previous topic - Next topic

timworx

I already posted a thread about it not adding some longer domains, saying that they already exist on the server.
However, now, when I do add a domain (that is short enough to work) I'm getting a 403 error. I've tried running the fix permissions, but to no avail. This is really causing a problem for me.

I get the same 403 error when manually adding to vhosts, as well.

timworx

So, I've set the user and group to the user - but that has not fixed the issue.
It does seem to possibly be some kind of perm issue though. Simply copying an existing, working site root and renaming it to the new vhost's siteroot does in fact work.

What could this be?

bryan2019

I have the same problem, when I add new domain, the forbidden error is showing, I spend 2 days to solve that problem and then I give up. This author must overhaul this panel.

timworx

Bryan, have you tried running the 'fix permissions' as well?

I'm having this problem on another user as well.

The only way I was able to get around it before was by copying directories within a user's directory that worked and pasting them since they kept their proper permissions and such.

It isn't as easy as setting user:group to the proper user and group, there is something more than that, and I don't know what it is. It's a very big problem at this point.

Administrator

you need to check on apache error_log for all issues with apache!
It would be the best to check on that with your hosting sys admin.

vdshub

I have same problem
Contents of File: /var/log/httpd/error_log

Quote[Tue Dec 22 17:30:04 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Dec 22 17:30:04 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 22 17:30:04 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 22 17:30:04 2015] [notice] Digest: done
[Tue Dec 22 17:30:04 2015] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Dec 22 17:31:17 2015] [notice] caught SIGTERM, shutting down

this log is clear

I also have problem with default page


but, then i open  /usr/local/apache/logs/error_log
I found:
Quote[Wed Dec 23 00:21:29 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Wed Dec 23 00:21:30 2015] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Dec 23 00:41:45 2015] [error] [client 31.43.45.168] File does not exist: /usr/local/apache/htdocs/img, referer: http://IP/
[Wed Dec 23 00:41:45 2015] [error] [client 31.43.45.168] File does not exist: /usr/local/apache/htdocs/favicon.ico, referer: http://IP/
[Wed Dec 23 00:49:16 2015] [notice] caught SIGTERM, shutting down
[Wed Dec 23 01:16:34 2015] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Dec 23 01:16:34 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Wed Dec 23 01:16:35 2015] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Dec 23 02:22:18 2015] [error] [client 188.68.224.62] File does not exist: /usr/local/apache/htdocs/httptest.php
[Wed Dec 23 03:41:01 2015] [error] [client 188.68.224.62] File does not exist: /usr/local/apache/htdocs/httptest.php
[Wed Dec 23 05:35:14 2015] [error] [client 188.68.224.62] File does not exist: /usr/local/apache/htdocs/httptest.php
[Wed Dec 23 10:23:18 2015] [error] [client 188.68.224.62] File does not exist: /usr/local/apache/htdocs/httptest.php
[Wed Dec 23 10:37:30 2015] [error] [client 188.68.224.62] File does not exist: /usr/local/apache/htdocs/httptest.php
[Wed Dec 23 11:53:53 2015] [error] [client 188.68.224.62] File does not exist: /usr/local/apache/htdocs/httptest.php
[Wed Dec 23 14:22:53 2015] [crit] [client 176.98.28.103] (13)Permission denied: /home/USER/public_html/DOMEN1/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Dec 23 14:22:53 2015] [crit] [client 176.98.28.103] (13)Permission denied: /home/USER/public_html/DOMEN1/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://DOMEN1/
[Wed Dec 23 14:22:56 2015] [crit] [client 176.98.28.103] (13)Permission denied: /home/USER/public_html/DOMEN1/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Dec 23 14:22:56 2015] [crit] [client 176.98.28.103] (13)Permission denied: /home/USER/public_html/DOMEN1/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://DOMEN1/
[Wed Dec 23 14:23:05 2015] [crit] [client 176.98.28.103] (13)Permission denied: /home/USER/public_html/DOMEN2/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Dec 23 14:27:13 2015] [crit] [client 176.98.28.103] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

How i can fix it?

vdshub

LAST LINES:
Quote[Wed Dec 23 15:49:30 2015] [notice] caught SIGTERM, shutting down
[Wed Dec 23 15:49:31 2015] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Dec 23 15:49:31 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Wed Dec 23 15:49:31 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
[Wed Dec 23 15:49:31 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1"
[Wed Dec 23 15:49:31 2015] [notice] ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
[Wed Dec 23 15:49:31 2015] [notice] ModSecurity: LIBXML compiled version="2.7.6"
[Wed Dec 23 15:49:31 2015] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Wed Dec 23 15:49:32 2015] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Dec 23 15:49:43 2015] [crit] [client 31.43.45.168] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Dec 23 15:49:43 2015] [crit] [client 31.43.45.168] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://DOMAIN1/
[Wed Dec 23 15:49:48 2015] [crit] [client 31.43.45.168] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Dec 23 15:49:48 2015] [crit] [client 31.43.45.168] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://DOMAIN1/
[Wed Dec 23 15:49:52 2015] [crit] [client 31.43.45.168] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Dec 23 15:49:52 2015] [crit] [client 31.43.45.168] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://DOMAIN1/
[Wed Dec 23 15:49:56 2015] [crit] [client 31.43.45.168] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Wed Dec 23 15:49:59 2015] [crit] [client 31.43.45.168] (13)Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Glenn

Hi
If you are using Varnish , please check that the entry is being added correctly to /etc/varnish/sites.vcl

Puth Makara


Igor S.

Permission denied: /home/USER/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Make sure owner and permissions for each folder /home/, /home/USER/, /home/USER/public_html/ etc, are correct.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services