Cannot locate all.css and get 404 error for opml and update

by nosbig, Thursday, March 14, 2013, 20:46 (4052 days ago)

I am installing selfoss in a subdirectory of my DocumentRoot (http://servername/selfoss/).

When trying to connect, I get the contents of the index page, but I get no styling on the page at all. I also see no link to login, add sources, or otherwise administer the system. My apache error.log shows that the server cannot find all.css in /var/www/selfoss/.

I am using Debian stable with Apache2 as the web server, and I am using SQLite as the database. I literally unzipped the 2.2 release archive, did a chown -R www-data:www-data selfoss/ to change the ownership to the user Apache is running as and trying to browse to the site.

I suspect it might have to do with a mod_rewrite configuration and/or the .htaccess file, but I can't pinpoint the specific issue.

I also downloaded the latest GIT version, and the same problem occurs.

If a forum or other community exists and this is not the appropriate place for this issue (likely on my end), please direct me to the community.

UPDATE (GitHub): I was asked if I had mod_rewrite enabled, and I do. I tried each possible variation of the RewriteBase value with selfoss and one or more slashes (/).

Cannot locate all.css and get 404 error for opml and update

by krizzzle, Thursday, March 14, 2013, 22:34 (4052 days ago) @ nosbig

This can only be a mod_rewrite issue. Post the corresponding snippet from your httpd.conf, location of your selfoss directory, a complete 404 line from your error_log and your changes to the .htaccess .

Cannot locate all.css and get 404 error for opml and update

by nosbig, Thursday, March 14, 2013, 22:46 (4052 days ago) @ krizzzle

The ultimate fix was provided on Github, where this issue was originally opened. Turns out that Debian (and its derivatives) have a configuration which is too secure for selfoss to run by default. Specifically, overrides are not allowed at all. I adjusted my configuration to allow all overrides in that directory, and selfoss is now working. My next step will be to determine exactly which overrides selfoss requires and document them for others in the future.

Cannot locate all.css and get 404 error for opml and update

by jeffliker, Thursday, March 14, 2013, 23:40 (4052 days ago) @ nosbig

Hi, I have had the same problem, I understood what it was. Just did not work .htaccess file, it was ignored by apache, until I wrote a directive AllowOverride All into <Directive /PATH/TO/SELFOSS/DIR> section. Also, you must have AccessFileName .htaccess directive in your apache2.conf file (I use Ubuntu server, so you`ll need find analogy for your system).
ps: sorry for my English, I checked this message with Google Translate and It looks as i wanted to write ;)
FRWL, jeffliker

Cannot locate all.css and get 404 error for opml and update

by steved, Wales, UK, Saturday, March 16, 2013, 16:15 (4050 days ago) @ jeffliker

<Directive /PATH/TO/SELFOSS/DIR> section.

Should be Directory rather than Directive, but for a translated message you did very well :-)

You also need to make sure that the files are readable by the user running the web server (often apache or httpd, but varies widely), and that the directories noted in the install notes are writable by the same user.

Cannot locate all.css and get 404 error for opml and update

by jeffliker, Monday, March 18, 2013, 14:05 (4049 days ago) @ steved

thanks, of course it should be Directory =) i don`t know why i was write Directive instead

Cannot locate all.css and get 404 error for opml and update

by remakr, Thursday, January 21, 2016, 10:18 (3010 days ago) @ nosbig

RSS Feed of thread
powered by my little forum