SOURCES (DEVEL): lighttpd.conf - proof of concept: config files fo...
glen
glen at pld-linux.org
Mon Jan 16 22:50:51 CET 2006
Author: glen Date: Mon Jan 16 21:50:51 2006 GMT
Module: SOURCES Tag: DEVEL
---- Log message:
- proof of concept: config files for each module
---- Files affected:
SOURCES:
lighttpd.conf (1.30 -> 1.30.2.1)
---- Diffs:
================================================================
Index: SOURCES/lighttpd.conf
diff -u SOURCES/lighttpd.conf:1.30 SOURCES/lighttpd.conf:1.30.2.1
--- SOURCES/lighttpd.conf:1.30 Mon Jan 16 00:01:45 2006
+++ SOURCES/lighttpd.conf Mon Jan 16 22:50:46 2006
@@ -12,33 +12,16 @@
# - saves some time
# - saves memory
+# these three modules will be loaded anyway, no matter what
+# unfortunately they get loaded twice, so we limit only to indexfile as the proof of concept
server.modules = (
- "mod_access",
- "mod_accesslog",
-# "mod_alias",
-# "mod_auth",
-# "mod_cgi",
-# "mod_cml",
-# "mod_compress",
-# "mod_evasive"
-# "mod_evhost",
-# "mod_expire",
-# "mod_fastcgi",
-# "mod_localizer",
-# "mod_proxy",
-# "mod_redirect",
-# "mod_rewrite",
-# "mod_rrdtool",
-# "mod_secdownload",
-# "mod_setenv",
-# "mod_simple_vhost",
-# "mod_ssi",
-# "mod_status",
-# "mod_trigger_b4_dl",
-# "mod_userdir",
-# "mod_usertrack",
+ "mod_indexfile",
+# "mod_dirlisting",
+# "mod_staticfile",
)
+include_shell "/bin/cat conf.d/*.conf"
+
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/home/services/lighttpd/html/"
@@ -94,7 +77,7 @@
######### Options that are good to be but not neccesary to be changed #######
## bind to port (default: 80)
-#server.port = 81
+server.port = 81
## bind to localhost (default: all interfaces)
#server.bind = "grisu.home.kneschke.de"
@@ -202,9 +185,9 @@
#ssl.pemfile = "server.pem"
#### status module
-#status.status-url = "/server-status"
-#status.config-url = "/server-config"
-#status.statistics-url = "/server-stats"
+status.status-url = "/server-status"
+status.config-url = "/server-config"
+status.statistics-url = "/server-stats"
#### auth module
## read authentication.txt for more info
@@ -280,7 +263,7 @@
#ssi.extension = ( ".shtml" )
#### rrdtool
-#rrdtool.binary = "/usr/bin/rrdtool"
+rrdtool.binary = "/usr/bin/rrdtool"
#rrdtool.db-name = "/var/www/lighttpd.rrd"
#### setenv
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/lighttpd.conf?r1=1.30&r2=1.30.2.1&f=u
More information about the pld-cvs-commit
mailing list