]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - lighttpd/lighttpd.conf
bird: Update to 1.5.0
[people/amarx/ipfire-3.x.git] / lighttpd / lighttpd.conf
1 ############################################################################
2 # #
3 # This file is part of the IPFire Firewall. #
4 # #
5 # IPFire is free software; you can redistribute it and/or modify #
6 # it under the terms of the GNU General Public License as published by #
7 # the Free Software Foundation; either version 2 of the License, or #
8 # (at your option) any later version. #
9 # #
10 # IPFire is distributed in the hope that it will be useful, #
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
13 # GNU General Public License for more details. #
14 # #
15 # You should have received a copy of the GNU General Public License #
16 # along with IPFire; if not, write to the Free Software #
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
18 # #
19 # Copyright (C) 2008 IPFire-Team <info@ipfire.org>. #
20 # #
21 ############################################################################
22
23 server.document-root = "/srv/www/ipfire/"
24
25 server.port = 444
26
27 server.username = "www"
28 server.groupname = "www"
29
30 server.event-handler = "linux-sysepoll"
31 server.network-backend = "linux-sendfile"
32
33 accesslog.filename = "/var/log/lighttpd/access.log"
34 server.errorlog = "/var/log/lighttpd/error.log"
35 static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
36 server.pid-file = "/var/run/lighttpd.pid"
37 #server.bind = "127.0.0.1"
38
39 index-file.names = (
40 "index.html",
41 "index.htm",
42 "index.py",
43 "index.cgi"
44 )
45
46 compress.cache-dir = "/var/cache/lighttpd/compress/"
47 compress.filetype = ("text/plain", "text/html")
48
49 ### SSL engine
50 #ssl.engine = "enable"
51 #ssl.pemfile = "/etc/ssl/private/server.pem"
52
53 #auth.backend.ldap.hostnam = "localhost"
54 #auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
55 #auth.backend.ldap.filter = "(uid=$)"
56 #auth.require = (
57 # "/server-status" =>
58 # (
59 # "method" => "digest",
60 # "realm" => "download archiv",
61 # "require" => "user=jan"
62 # ),
63 # "/server-config" =>
64 # (
65 # "method" => "digest",
66 # "realm" => "download archiv",
67 # "require" => "valid-user"
68 # )
69 #)
70
71 server.modules = (
72 # "mod_rewrite",
73 # "mod_redirect",
74 # "mod_alias",
75 "mod_access",
76 # "mod_cml",
77 # "mod_trigger_b4_dl",
78 "mod_auth",
79 # "mod_status",
80 # "mod_setenv",
81 "mod_fastcgi",
82 # "mod_proxy",
83 # "mod_simple_vhost",
84 # "mod_evhost",
85 # "mod_userdir",
86 "mod_cgi",
87 "mod_compress",
88 # "mod_ssi",
89 # "mod_usertrack",
90 # "mod_expire",
91 # "mod_secdownload",
92 # "mod_rrdtool",
93 "mod_accesslog"
94 )
95
96 cgi.assign = (
97 ".py" => "/usr/bin/python",
98 ".cgi" => "/usr/bin/python",
99 )
100
101 mimetype.assign = (
102 ".gz" => "application/x-gzip",
103 ".tar.gz" => "application/x-tgz",
104 ".tgz" => "application/x-tgz",
105 ".tar" => "application/x-tar",
106 ".zip" => "application/zip",
107 ".gif" => "image/gif",
108 ".jpg" => "image/jpeg",
109 ".jpeg" => "image/jpeg",
110 ".png" => "image/png",
111 ".css" => "text/css",
112 ".html" => "text/html",
113 ".htm" => "text/html",
114 ".js" => "text/javascript",
115 ".log" => "text/plain",
116 ".conf" => "text/plain",
117 ".text" => "text/plain",
118 ".txt" => "text/plain",
119 ".xml" => "text/xml",
120 ".bz2" => "application/x-bzip",
121 ".tbz" => "application/x-bzip-compressed-tar",
122 ".tar.bz2" => "application/x-bzip-compressed-tar"
123 )