You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing selfoss in my public_html and access it with http://localhost/~michael/selfoss. This is the output (even after I adjust RewriteBase in .htaccess):
Not Found
HTTP 404 (GET /~michael/selfoss/)
If I set the base_url option and add this line after the line where the config file is read it works:
$f3->set('BASE', $f3->get('base_url'));
Is this the right way or am I missing a configuration option here?
The text was updated successfully, but these errors were encountered:
Thats strange. I get the 404 error if I set the BASE param with an absolute url. Without BASE all works fine. It seems you are the first one with this problem. Base is per default "/selfoss" (for http://localhost/selfoss) and not the full path. I suppose this is a issue with the fat free framework and a certain server configuration.
Looks like it's due to the fact I put it in a userdir. If I symlink it to /var/www/selfoss or something similar it works ootb except for generated css and js files. It simply looks in the wrong place (/ instead of /public/) but that seems to be another issue with the rewrite rules in .htaccess.
I'm testing selfoss in my public_html and access it with
http://localhost/~michael/selfoss
. This is the output (even after I adjust RewriteBase in.htaccess
):If I set the
base_url
option and add this line after the line where the config file is read it works:Is this the right way or am I missing a configuration option here?
The text was updated successfully, but these errors were encountered: