• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Serving pages from my NAS using lighttpd  (Read 3030 times)

Karma: 0
Posts: 2

View Profile
« on: March 18, 2010, 04:13:43 AM »

I am hosting a wordpress blog (holmbase.dynalias.net/plugblog) from my plug using lighttpd. I ran into some trouble using some network storage and figured other people might have the same problem:

I first got everything working from the SD card filesystem, but  I didn't want to keep it all there.  So I mounted my web directory on my NAS that looks like Window's shares.  As soon as I did that, all the images and javascript stopped loading.

I did a lot of searching and asking around.  The important clue was a 'sendfile' error in the error.log file for the blog.  Using that some folks led me to a lighttpd setting for what system calls to use.  I just added the line

server.network-backend = "write"

to my lighttpd.conf file, and everything started working.

This explanation and some links are at http://holmbase.dynalias.net/plugblog/index.php/archives/working-again-all-on-the-nas/



Pages: [1]
Jump to: