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-07-14 22:31:47

nuco
New member
Registered: 2008-06-27
Posts: 4

Lighttpd change port to default

Hi

I've followed the instruction on WIKI on how to change to lighttpd port from default (8080) to 80.. Since I'm a real noob at this
I have no idea what todo... Sorry..

I did these steps:

----
Port 80

The example config files start lighttpd on port 8080, because the default HTTP port 80 is used by the administration interface (goahead web server). Using a little trick, you can move goahead to port 81 and run lighttpd on port 80: http://dns323.kood.org/forum/t246-Change-http-port.html

To setup your lighttpd for port 80, disable the server.port directive in lighttpd.conf, and activate the kickwebs.sh and lighttpd.sh start scripts:

cd /ffp/etc
sed -i '/server.port/ s/^/#/' lighttpd.conf
cd /ffp/start
chmod a+x kickwebs.sh lighttpd.sh
---

But now I would like to change back to default port... Can anyone please show me how to do it without reinstalling fun_plug..

Thank you..

Offline

 

#2 2008-07-15 10:07:25

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

Re: Lighttpd change port to default

Open an editor an put a # at the start of the server-port line.

Alternatively, copy the config from /ffp/etc/examples:

Code:

cd /ffp/etc
cp examples/lighttpd.conf .

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB