Parcourir la source

lighttpd: clean up configuration file

Signed-off-by: W. Michael Petullo <mike@flyn.org>
W. Michael Petullo il y a 10 ans
Parent
révision
f7fd574f2a
1 fichiers modifiés avec 10 ajouts et 16 suppressions
  1. 10
    16
      net/lighttpd/files/lighttpd.conf

+ 10
- 16
net/lighttpd/files/lighttpd.conf Voir le fichier

@@ -1,31 +1,28 @@
1
-# lighttpd configuration file
2
-# 
3 1
 server.modules = (
4 2
 )
5 3
 
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 4
 server.document-root        = "/www"
13 5
 server.upload-dirs          = ( "/tmp" )
14 6
 server.errorlog             = "/var/log/lighttpd/error.log"
15 7
 server.pid-file             = "/var/run/lighttpd.pid"
16 8
 server.username             = "http"
17 9
 server.groupname            = "www-data"
18
-#server.tag                  = "lighttpd"
19
-#server.errorlog-use-syslog  = "enable"
20
-#server.network-backend      = "write"
21 10
 
22 11
 index-file.names            = ( "index.php", "index.html",
23 12
                                 "index.htm", "default.htm",
24
-                               " index.lighttpd.html" )
13
+                                "index.lighttpd.html" )
25 14
 
26 15
 static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
27 16
 
28
-## Use ipv6 if available
17
+### Options that are useful but not always necessary:
18
+#server.chroot               = "/"
19
+#server.port                 = 81
20
+#server.bind                 = "localhost"
21
+#server.tag                  = "lighttpd"
22
+#server.errorlog-use-syslog  = "enable"
23
+#server.network-backend      = "write"
24
+
25
+### Use IPv6 if available
29 26
 #include_shell "/usr/share/lighttpd/use-ipv6.pl"
30 27
 
31 28
 #dir-listing.encoding        = "utf-8"
@@ -33,6 +30,3 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
33 30
 
34 31
 include       "/etc/lighttpd/mime.conf"
35 32
 include_shell "cat /etc/lighttpd/conf.d/*.conf"
36
-
37
-
38
-