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 ›

403 Forbidden on all subdomains

Started by rs, December 03, 2018, 06:31:09 PM

Previous topic - Next topic

rs

Hello.
I don't know what happened but on all of my subdomains I can see 403 Forbidden error.
This is the last part of my apache error_log:


tail -f error_log
[core:error] [pid 237**:tid 140680435328***] [client ***.***.167.79:56**] Script timed out before returning headers: index.php
[core:error] [pid 237**:tid 140680204551***] [client ***.***.148.101:21**] Script timed out before returning headers: index.php
[core:error] [pid 71**:tid 140680393369***] [client ***.***.168.140:12**] Script timed out before returning headers: index.php
[authz_core:error] [pid 71**:tid 14068031994****] [client **.**.30.90:27***] AH01630: client denied by server configuration: /home/***/public_html_***/
[authz_core:error] [pid 26**:tid 14068037238****] [client **.**.162.51:44***] AH01630: client denied by server configuration: /home/***/public_html_*****/
[core:error] [pid 237**:tid 1406802674****] (13)Permission denied: [client ***.***.102.70:42***] AH00132: file permissions deny server access: /usr/local/apache/htdocs/img/centos_webpanel_logo.png, referer: http://www.sogou.com/web?query=site%3Aftp.****.com
[authz_core:error] [pid 23***:tid 1406803618***] [client ***.220.***.112:36186] AH01630: client denied by server configuration: /home/***/public_html_***/
[authz_core:error] [pid 23***:tid 1406801940***] [client ***.230.***.168:55788] AH01630: client denied by server configuration: /home/***/public_html_chk/
[authz_core:error] [pid 23***:tid 1406802045***] [client ***.230.***.168:55788] AH01630: client denied by server configuration: /home/***/public_html_chk/favicon.ico, referer: http://chk.*****.com/
[authz_core:error] [pid 23***:tid 1406803199***] [client ***.230.***.168:55788] AH01630: client denied by server configuration: /home/***/public_html_chk/favicon.ico, referer: http://chk.*****.com/

Such a strange record:

AH00132: file permissions deny server access: /usr/local/apache/htdocs/img/centos_webpanel_logo.png, referer: http://www.sogou.com/web?query=site%3Aftp.****.com

and how it is  related to sogou.com?..

I have already tried to change permissions using CWP panel but that doesn't work.

studio4host

try to check .htaccess files in that folders if that failes even after you remove .htaccess file then try to rebuild WebServers via WebServers Select.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

rs

Quote from: studio4host on December 03, 2018, 09:51:22 PM
try to check .htaccess files in that folders if that failes even after you remove .htaccess file then try to rebuild WebServers via WebServers Select.
Already checked I have just standard .htaccess files from WordPress but even if there is no .htaccess files I am getting the same error. More over I have tried to rebuild a webserver it doesn't work. I choose first

Apache & Nginx Reverse Proxy
HTTP: Nginx (80) --> Apache (8181)
HTTPS: Nginx (443) --> Apache (8181)

and then again

Apache Only
HTTP: Apache (80)
HTTPS: Apache (443)

But the problem still there I have checked both options. I am still getting the same error...

studio4host

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

monkeyking

Did you tried "User Accounts > Fix Permissions"?

rs

Quote from: monkeyking on December 04, 2018, 04:45:32 AM
Did you tried "User Accounts > Fix Permissions"?
Already did so. It doesn't help.

rs

Quote from: studio4host on December 04, 2018, 12:51:22 AM
try this
yum reinstall cwp-httpd
I just did so but the result is the same Forbidden. :(

rs


bcercan

I have the same problem, error logs look likes this how can we fix it for all subdomains ?

studio4host

in latest centos7 you can enable symlinksifownermatch with .htaccess

for all issues, you need to check what is the error in logs.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.