lighttpd on raspberry

by raizer, Monday, May 27, 2013, 10:43 (4307 days ago)

hi.
I'm trying to install lighttpd+selfoss on raspberry.
this is the error i get when i try to reload the server after all the config.


root@raspberrypi:/var/www/selfoss/public# sudo service lighttpd restart
[ ok ] Stopping web server: lighttpd.
[....] Starting web server: lighttpd2013-05-27 08:34:33: (plugin.c.169) dlopen() failed for: /usr/lib/lighttpd//selfoss/public/favicon.ico.so /usr/lib/lighttpd//selfoss/public/favicon.ico.so: cannot open shared object file: No such file or directory
2013-05-27 08:34:33: (server.c.676) loading plugins finally failed
failed!


instead of "www-data" user i used "pi" since it's the default one on the raspberry.

lighttpd on raspberry

by raizer, Monday, May 27, 2013, 12:15 (4307 days ago) @ raizer

i changed the user back to www-data.

i found that the problem is located in the /etc/lighttpd/lighttpd.conf file.
if i add

"^/selfoss/favicon.ico$" => "/selfoss/public/favicon.ico",
"^/selfoss/favicons/(.*)$" => "/selfoss/data/favicons/$1",
"^/selfoss/thumbnails/(.*)$" => "/selfoss/data/thumbnails/$1",
"^/selfoss/(.*.(js|ico|gif|jpg|png|css|asc|txt|eot|woff|ttf|svg))$" => "/selfoss/public/$1",
"^/selfoss/index.php(.*)$" => "$0",
"^/selfoss/([^\?]*)(\?(.*))?" => "/selfoss/index.php?$3",
"^/selfoss/public/" => "$0",
"^/selfoss/(.*)" => "/selfoss/index.php$1"
the server fail to run.
but without those line i can't run selfoss...

RSS Feed of thread
powered by my little forum