Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm attempting to get my Roku streaming box with a channel called Roksbox to stream content off my MyBook World 2 whitelight. I want a directory listing of a certain folder of a share, Media. It's 2012 and this should be way easier.

I've tried the basic instructions for installing apache here http://roksbox.com/home/index.php?option=com_content&view=article&id=73&Itemid=73, and seemingly got apache running, but couldn't get past a 403 error. Knowing that the admin app is already running as a webserver I've decided to get away from the apache route.

I've found this article. http://martin.hinner.info/mybook/lighttpd.php The problem is that I don't even see a lighttpd directory in /etc. Is this a hidden directory or file? How can I be sure that lighttpd is what server is actually running?

Any hints are welcome. I can provide more info like firmware and whatnot if necessary.

share|improve this question
    
Do you have the "locate" command on that pc? try locate lighttpd.conf – Pitto Apr 30 '13 at 16:02
    
You should decide if you want to stick to apache and fix its error or move to lighttpd (and remove apache, in that case) – Pitto Apr 30 '13 at 16:08
    
A question: you want to stream movies from your Mybook (I suppose) then why you need a webserver? Can't you use samba or any kind of file sharing service? – Pitto Apr 30 '13 at 16:25

The init script probably contains the location and name of the config file. It might not be exactly lighttpd.conf, and if not a find won't succeed. Look for a file in /etc/init.d/ that is named something like lighttpd. It should contain a statement like DAEMON_ARGS="-f /etc/lighttpd.conf" which contains the file you're searching for.

share|improve this answer

From root go to: /etc/lighttpd/ use pico lighttpd.conf to edit it, if that doesn't work then change pico to vi

share|improve this answer
    
"The problem is that I don't even see a lighttpd directory in /etc" ??? – JoshP Sep 28 '12 at 17:46

Check the list of running processes with ps ax, ps aufx, or try netstat -ltnp and similar. If there is no /etc/lighttpd and no lighttpd process, then lighttpd probably isn't included (anymore).

share|improve this answer

You should use (I think about general *nix):

find / -name lighttpd.conf

This command will allow you to find the file (if it exists) on your pc

Also to check if the software is running using:

ps aux | grep lighttpd
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .