11 Utilities Tools
User Manual 339/374
#server.username = "www"
#server.groupname = "www"
mimetype.assign = (
".html" => "text/html",
".htm" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png"
)
static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" )
index-file.names = ( "index.html" )
Copy your html pages to the path specified under server.document-root
Starting the server
To test the syntax of the configuration file:
# lighttpd -t -f /mnt/usrflash/etc/lighttpd.conf
To start the server:
# lighttpd -D -f /mnt/usrflash/etc/lighttpd.conf &
Useful links
http://redmine.lighttpd.net/wiki/1/TutorialConfiguration http://redmine.lighttpd.net/wiki/1/TutorialConfiguration