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.