View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5505 | Composr | core | public | 2023-12-15 02:32 | 2023-12-17 19:11 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | normal | Severity | minor | ||
Status | assigned | Resolution | open | ||
Summary | 5505: fixup_bad_php_env_vars may give wrong DOCUMENT_ROOT for some web hosts | ||||
Description | fixup_bad_php_env_vars may prematurely stop piecing together the correct DOCUMENT_ROOT on some web hosts, such as those running Plesk. Specifically, in the indicated / highlighted code of global2.php, this can prematurely stop building DOCUMENT_ROOT. Therefore, a website hosted in Plesk for example might have a path of /var/www/vhosts/domain/subdomain . But DOCUMENT_ROOT ends up getting "fixed" in error to /var/www. Is this code block necessary? Simply disabling it caused things to work correctly on the Plesk site. I'm not sure if it would break other sites. | ||||
Additional Information | This issue also exists in v11. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||