EasyManua.ls Logo

STW TC1 - Page 339

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents