In some web-server configuration, when JPATH_ROOT
is /
Joomla don't work correctly:
mod_rewrite
work only for main page, others render as 404<link href="/media/vendor/fontawesome-free/css/fontawesome.min.css?5.14.0" rel="stylesheet" />
index.php?option=com_content&view=article&layout=edit&id=841
-> http status 200<link href="/mediavendorfontawesome-freecssfontawesome.min.css?5.14.0" rel="stylesheet" />
/index.php?option=com_content&view=article&id=841
-> http status 404/841-article-title
-> https status 200Shared web hosting, with domain connected to directory "with site separation".
(Provider: home.pl
is one of the largest service providers in Poland.)
I had no problem with reconfiguration the server, but it took me a long time to find the problem. (And a lot of stress)
If this problem cannot be quickly dealt (HTTP 404), I suggest add warning to installator, admin and site .
if(JPATH_ROOT == '/installation' || JPATH_ROOT == '/administrator' || JPATH_ROOT == '/')
Labels |
Added:
?
|
This change JPATH_ROOT don't work:
define('JPATH_ROOT', JPATH_BASE === DIRECTORY_SEPARATOR?'':implode(DIRECTORY_SEPARATOR, $parts));
The test could show false results, I am not able to check it closely. I only have the live version.
If this help: Joomla 3.6 works on this configuration, but i can't update it to 3.9.
@richard67 I have this issue for Joomla 4.0.
I have no way to test for v.3.9
@N6REJ Because I only have one available place where I can check it and it's occupied by Joomla 4.0. And it's a live version.
You know it: All developers have test environments and some even have production environments.
My provider is an asshole. Doing something non-standard there is a pain. (but gives a lot of space for mail).
using 4.0 for a production site is not a wise move imo.
Labels |
Added:
No Code Attached Yet
bug
Removed: ? |
Can you check if PR #23149 fixes the issue?