diff lighttpd/conf.d/access_log.conf @ 54:70a883519753

Add more lighttpd configuration files.
author John "Elwin" Edwards
date Sat, 05 Apr 2014 09:35:01 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lighttpd/conf.d/access_log.conf	Sat Apr 05 09:35:01 2014 -0700
@@ -0,0 +1,27 @@
+#######################################################################
+##
+## Corresponding documentation:
+##
+## http://www.lighttpd.net/documentation/access.html
+##
+server.modules += ( "mod_accesslog" )
+
+##
+## Default access log.
+##
+accesslog.filename          = log_root + "/access.log"
+
+##
+## The default format produces CLF compatible output.
+## For available parameters see access.txt 
+##
+#accesslog.format = "%h %l %u %t \"%r\" %b %>s \"%{User-Agent}i\" \"%{Referer}i\""
+
+##
+## If you want to log to syslog you have to unset the 
+## accesslog.use-syslog setting and uncomment the next line.
+##
+#accesslog.use-syslog       = "enable"
+
+#
+#######################################################################