Hubzilla refers to domain root for CSS/JS paths even when installed on subdirectory
I have an Apache based localhost setup for testing stuff. As much as I looked into instructions (this and others) for installing Hubzilla, they are for installing and accessing Hubzilla directly from a domain (not in nested directories). That means they're intended to access Hubzilla through
http://localhost and not something like
http://localhost/hubzilla. But I want other things to run as well on my setup, so I tried to install it on a subdirectory.
When run from subdirectory the problem starts from the setup and continues. No styles show up.
Anyways, I've ignored it and chosen
http://192.168.x.xxx/hubzilla as "Website URL" during setup that in turn wrote the url in
App::$config['system']['baseurl'] = 'http://192.168.x.xxx/hubzilla';
But it includes the CSS/JS from domain root instead of the value on
<link rel="stylesheet" href="http://192.168.x.xxx/view/css/bootstrap-red.css?v=5.2.2" type="text/css" media="screen"> ... <script src="http://192.168.x.xxx/view/js/jquery.js?v=5.2.2" ></script> ...
So this results in pages to only show HTML and no styles or scripts, resulting in unusable installation.