Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 404 on / #44

Closed
migerh opened this issue Mar 14, 2013 · 2 comments
Closed

Error 404 on / #44

migerh opened this issue Mar 14, 2013 · 2 comments

Comments

@migerh
Copy link

migerh commented Mar 14, 2013

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
Copy link
Member

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
Copy link
Author

migerh commented Mar 14, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants