User Tools

Site Tools


This is an old revision of the document!

How-to setup a HTTP server

lighttpd is a small and fast HTTP server that does not need much system resources. So it is ideal to be our Raspberry PI HTTP server.


To install lighttpd run this command:

sudo apt-get install lighttpd

To check that lighttpd is running, type your Raspberry PI IP-address or hostname into an internet browser. That will show the lighttpd default page: lighttpd


Document Root

The document root can be changed with this config parameter:

server.document-root = "/var/www"

More details can be found here.

Directory Listing

dir-listing.activate = "enable"

lighttpd offers many configuration possibilities for directory listing. More details can be found here.

setuphttp.1381318099.txt.gz · Last modified: 09.10.2013 13:28 by derk