DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-02-12 14:56:38

esebag
Member
Registered: 2008-01-28
Posts: 60

lighttpd installation

Me again,

I'm trying to get a web server up and running on my DNS-323. I've followed Shadow Andy's instruction but something must be missing because i don't see a 'www' folder after configuring lighttpd and i don't get a response with the url: http://<...MY-DNS-323-IP...>:8080

Some background info : mldonkey is up and running and i can connect to my DNS-323 via ssh with Putty. The port for ssh connection is forwarded from my router to my DNS-323.

Here are the steps i took to install lighttpd:

/ # cd /mnt/HD_a2
/mnt/HD_a2 # funpkg.sh lighttpd-1.4.17.tgz
Unpacking lighttpd-1.4.17.tgz ...
Installing files to /mnt/HD_a2/fun_plug.d ...
Cleaning up
/mnt/HD_a2 #

/mnt/HD_a2 # funpkg.sh php-5.2.4.tgz
Unpacking php-5.2.4.tgz ...
Installing files to /mnt/HD_a2/fun_plug.d ...
Cleaning up
/mnt/HD_a2 #

/mnt/HD_a2 # cp fun_plug.d/etc/lighttpd.conf-with-php-sample fun_plug.d/etc/lighttpd.conf
/mnt/HD_a2 # chmod +x funplug.d/start/lighttpd.sh

/mnt/HD_a2 # ./fun_plug.d/start/lighttpd.sh

Do i have to forward another port in my router? What other steps are missing in the lighttpd configuration?


Any help appreciated.

Offline

 

#2 2008-02-12 16:19:42

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: lighttpd installation

You need to create the directories manually, they're not automatically created.  You need www, www/logs and www/pages. Put your stuff into the pages dir.
See also http://www.inreto.de/dns323/fun-plug/0.3/ (Section on lighttpd).

Offline

 

#3 2008-02-13 06:46:25

esebag
Member
Registered: 2008-01-28
Posts: 60

Re: lighttpd installation

Excellent! As they say, "the devil is in the details..."
Thanks.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB