From 75d314c541e8cef790e6ced039f6d216a1e2a63c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Tue, 10 Sep 2013 12:07:57 +0200 Subject: [PATCH] [doc] update to new config syntax --- doc/lighttpd.conf | 10 +++++----- doc/mimetypes.conf | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/lighttpd.conf b/doc/lighttpd.conf index 878423a..3e2664c 100644 --- a/doc/lighttpd.conf +++ b/doc/lighttpd.conf @@ -1,25 +1,25 @@ setup { - module_load ( + module_load [ "mod_accesslog", "mod_dirlist" - ); + ]; listen "0.0.0.0:80"; listen "[::]:80"; - log ["debug" => "", "*" => "/var/log/lighttpd2/error.log"]; + log ["debug" => "", default => "/var/log/lighttpd2/error.log"]; accesslog "/var/log/lighttpd2/access.log"; accesslog.format "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""; - static.exclude_extensions ( ".php", ".pl", ".fcgi", "~", ".inc" ); + static.exclude_extensions [ ".php", ".pl", ".fcgi", "~", ".inc" ]; } include "/etc/lighttpd2/mimetypes.conf"; docroot "/var/www"; -index ( "index.php", "index.html", "index.htm", "default.htm", "index.lighttpd.html" ); +index [ "index.php", "index.html", "index.htm", "default.htm", "index.lighttpd.html" ]; dirlist; static; diff --git a/doc/mimetypes.conf b/doc/mimetypes.conf index 40c6f38..518aac4 100644 --- a/doc/mimetypes.conf +++ b/doc/mimetypes.conf @@ -1,6 +1,6 @@ setup { - mime_types ( + mime_types [ ".ez" => "application/andrew-inset", ".anx" => "application/annodex", ".atom" => "application/atom+xml", @@ -510,6 +510,6 @@ setup { #custom "README" => "text/plain; charset=utf-8" - ); + ]; }