378e32ae13eb7702fc81e5b674016a99518fca96
[packages.git] / net / lighttpd / files / lighttpd.conf
1 # lighttpd configuration file
2
3 server.modules = (
4 )
5
6 ### only root can use these options
7 #server.chroot               = "/"
8
9 ######### Options that are good to be but not neccesary to be changed #######
10 #server.port                 = 81
11 #server.bind                 = "localhost"
12 server.document-root        = "/www"
13 server.upload-dirs          = ( "/tmp" )
14 server.errorlog             = "/var/log/lighttpd/error.log"
15 server.pid-file             = "/var/run/lighttpd.pid"
16 #server.username             = "www-data"
17 #server.groupname            = "www-data"
18 #server.tag                  = "lighttpd"
19 #server.errorlog-use-syslog  = "enable"
20 #server.network-backend      = "write"
21
22 index-file.names            = ( "index.php", "index.html",
23                                 "index.htm", "default.htm",
24                                " index.lighttpd.html" )
25
26 static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
27
28 ## Use ipv6 if available
29 #include_shell "/usr/share/lighttpd/use-ipv6.pl"
30
31 #dir-listing.encoding        = "utf-8"
32 #server.dir-listing          = "enable"
33
34 include       "/etc/lighttpd/mime.conf"
35 include_shell "cat /etc/lighttpd/conf.d/*.conf"
36
37
38