Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: anandmys on August 27, 2025, 06:52:02 AM
-
Hi
I am getting "403 Forbidden" cwpsrv error when try to open user panel
On checking /usr/local/cwpsrv/logs/error_log I see the following line
PHP message: PHP Notice: Undefined index: mail_disk in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts.php on line 0
PHP message: PHP Notice: Undefined index: mysql_disk in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts
2025/08/27 15:38:18 [error] 184171#0: *25 directory index of "/usr/local/cwpsrv/var/services/users/xyz/" is forbidden, client: 49.43.*.*, server: localhost, request: "POST /xyz/ HTTP/1.1", host: "my server.com:2083", referrer: "https://my server.com:2087/"
Please suggest
-
Can anyone help please
I even paid and created a one time support ticket. Just going rounds (Payment seems to not updated)
-
Is this from the Accounts > List Accounts page (where you click on the Open Panel wrench icon? Or is it from the :2083 link, using their credentials directly?
Have you tried the usual fix of going into Features, Themes, Languages and changing something in the package or account? You can set it back afterward, but it's a good first test.
-
List accounts link gives 403 forbidden error
While :2083 gives https error
Also I am getting forbidden error at places like webmail
You cannot visit domain.tld right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.
-
Did you try to re-issue the server hostname certificate? (Change hostname, could switch to 4096 bit key size)
-
Please advise the following:
What distro are you running CWP on?
Public or NAT?
--
Also did the fix from https://forum.centos-webpanel.com/centos-webpanel-bugs/fix-user-panel-login-is-not-working/ (https://forum.centos-webpanel.com/centos-webpanel-bugs/fix-user-panel-login-is-not-working/)
Not work?
-
Did you try to re-issue the server hostname certificate? (Change hostname, could switch to 4096 bit key size)
Did that. No use. Tried 4096 as well now. No use
-
Please advise the following:
What distro are you running CWP on?
Public or NAT?
--
AL 8. Elevated from centos stream
Also did the fix from https://forum.centos-webpanel.com/centos-webpanel-bugs/fix-user-panel-login-is-not-working/ (https://forum.centos-webpanel.com/centos-webpanel-bugs/fix-user-panel-login-is-not-working/)
Not work?
Didnt work
-
And I also see that /webmail is also throwing 403 forbidden error
-
This looks like some issue related to default url
/wp-admin/ gives 403 but wp-admin/index.php opens
May or may not be related