Author Topic: 403 Forbidden on all subdomains  (Read 13868 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
403 Forbidden on all subdomains
« on: December 03, 2018, 06:31:09 PM »
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:

Code: [Select]
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:
Code: [Select]
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.
« Last Edit: December 03, 2018, 06:36:08 PM by rs »

Offline
*
Re: 403 Forbidden on all subdomains
« Reply #1 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.
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.

Offline
*
Re: 403 Forbidden on all subdomains
« Reply #2 on: December 04, 2018, 12:39:02 AM »
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...

Offline
*
Re: 403 Forbidden on all subdomains
« Reply #3 on: December 04, 2018, 12:51:22 AM »
try this
yum reinstall cwp-httpd
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.

Offline
**
Re: 403 Forbidden on all subdomains
« Reply #4 on: December 04, 2018, 04:45:32 AM »
Did you tried "User Accounts > Fix Permissions"?

Offline
*
Re: 403 Forbidden on all subdomains
« Reply #5 on: December 05, 2018, 08:06:24 PM »
Did you tried "User Accounts > Fix Permissions"?
Already did so. It doesn't help.

Offline
*
Re: 403 Forbidden on all subdomains
« Reply #6 on: December 05, 2018, 08:10:13 PM »
try this
yum reinstall cwp-httpd
I just did so but the result is the same Forbidden. :(

Offline
*
Re: 403 Forbidden on all subdomains
« Reply #7 on: December 07, 2018, 05:54:02 PM »
Any suggestions?..

Offline
*
Re: 403 Forbidden on all subdomains
« Reply #8 on: February 14, 2019, 07:12:30 PM »
I have the same problem, error logs look likes this how can we fix it for all subdomains ?

Offline
*
Re: 403 Forbidden on all subdomains
« Reply #9 on: February 14, 2019, 10:20:11 PM »
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.