The following link used to work fine for my customers to access their control panel but now returns a page not found error.
However if I go to
https://%pbas_hostname%/cp/index.cgi I get the login screen.
Can you get the url to work without the file name?
Verify rules in
/etc/httpd/conf/hspc_rewrite.conf and fix the problem. Here are detail rewrite rules for PBA-S 4.3.4-22:
RewriteRule ^(/skins)/[^/]+?/(.+)$ $1/panel/$2 RewriteRule .* - [F] RewriteRule \.(ini|inc|pm|tmpl|xsd|json)$ - [F] RewriteRule \.(ico|gif|jpg|png|css|js|pdf|shtml|html|txt)$ - [PT] RewriteRule ^(/html/static/|/frontend/) - [L] RewriteRule ^/shop(.*) /shop/index.php/$1 [PT] RewriteRule ^/(site|store).*$ /hspc/index.php [L,R] RewriteRule ^(/hspc)?/?$ /hspc/index.php [L,R] RewriteRule ^/hspc/(includes|templates)/ - [F] RewriteRule ^/.+\.php$ - [PT] RewriteRule .* - [PT] RewriteRule ^/(cp|mycp)$ $1/ [L,R] RewriteRule ^/(pcc|rcc)/*$ /hspc/$1/ [L,R]
Remember to reload frontend webserver to apply the changes:
~# /etc/init.d/hspcd restart