fossar / selfoss

multipurpose rss reader, live stream, mashup, aggregation web application
https://selfoss.aditu.de
GNU General Public License v3.0
2.38k stars 345 forks source link

Error 404 on / #44

Closed migerh closed 11 years ago

migerh commented 11 years ago

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?

SSilence commented 11 years ago

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.

migerh commented 11 years ago

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.