Symptoms

When trying to open CP login page we get this


Forbidden

You don't have permission to access /servlet/Turbine/frm/single/ on this server.


or this

Forbidden

You don't have permission to access / on this server.


Cause

Apache vhost is not configured properly.

Login to UI Branding server (that is serving the affected brand) and check httpd log for errors.


Example:

[root@SERVER ~]# tail -1 /var/log/httpd/error_log
[Thu Feb 09 16:24:24.434545 2023] [core:crit] [pid 97248:tid 139991313123072] (13)Permission denied: [client 11.22.33.44:47336] AH00529: /var/www/brands/cp.brand.com/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/brands/cp.brand.com/' is executable

Resolution

The above error was fixed like this:

[root@SERVER ~]# cd /var/www/brands/cp.brand.com/
[root@SERVER cp.brand.com]# ls -la .htaccess

-rw-r-----. 1 root root 5482 Feb  9 15:15 .htaccess

[root@SERVER cp.brand.com]# 

[root@SERVER cp.brand.com]#  chmod o+r .htaccess
chmod: changing permissions of ‘.htaccess’: Operation not permitted
[root@SERVER cp.brand.com]#  chattr -i .htaccess
[root@SERVER cp.brand.com]#  chmod o+r .htaccess
[root@SERVER cp.brand.com]#  chattr +i .htaccess
[root@SERVER cp.brand.com]#  ls -la .htaccess
-rw-r--r--. 1 root root 5482 Feb  9 15:15 .htaccess
[root@SERVER cp.brand.com]#  service httpd restart