[doc]: fix config examples

personal/stbuehler/wip
Stefan Bühler 11 years ago
parent 2ebf367df5
commit dbfca1b2cb
  1. 8
      doc/lighttpd.conf
  2. 2
      doc/mimetypes.conf

@ -9,13 +9,13 @@ setup {
listen "0.0.0.0:80";
listen "[::]:80";
log = ["debug": "", "*": "/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\"";
log ["debug" => "", "*" => "/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\"";
include "/etc/lighttpd2/mimetypes.conf";
static.exclude_extensions = ( ".php", ".pl", ".fcgi", "~", ".inc" );
static.exclude_extensions ( ".php", ".pl", ".fcgi", "~", ".inc" );
}

@ -1,4 +1,4 @@
mime_types = (
mime_types (
".ez" => "application/andrew-inset",
".anx" => "application/annodex",
".atom" => "application/atom+xml",

Loading…
Cancel
Save