Hello there, there might be an error in the site's configuration or setup.
Have you maybe copied the public_html folder from cpanel, inside the public_html folder of the website in Enhance? etc.:
/var/www/[website_id]/public_html/public_html/[site_files]
I just checked, if I print the $_SERVER['REQUEST_URI']
in a test.php file within the public_html of a website, it only shows the root along with the file name and potentially any GET paramters you add to the URI like this:
[REQUEST_URI] => /test.php?parameter1=value1
What platform is the site based on?