source: trunk/lvs/debian/config/etc/lighttpd/lighttpd.conf @ 2059

Last change on this file since 2059 was 2059, checked in by ezyang, 13 years ago
Revert r2057.
File size: 1.3 KB
Line 
1server.modules              = (
2        "mod_alias",
3        "mod_magnet",
4)
5
6server.max-connections=4096
7server.max-fds=9182
8server.max-read-idle=5
9
10## a static document-root, for virtual-hosting take look at the
11## server.virtual-* options
12server.document-root       = "/var/www/"
13
14## where to send error-messages to
15server.errorlog            = "/var/log/lighttpd/error.log"
16
17### files to check for if .../ is requested
18#index-file.names           = ( "index.php", "index.html",
19#                               "index.htm", "default.htm",
20#                               "index.lighttpd.html" )
21
22## bind to port (default: 80)
23server.port               = 80
24
25## bind to localhost only (default: all interfaces)
26## server.bind                = "localhost"
27
28## to help the rc.scripts
29server.pid-file            = "/var/run/lighttpd.pid"
30
31## change uid to <uid> (default: don't care)
32server.username            = "www-data"
33
34## change uid to <uid> (default: don't care)
35server.groupname           = "www-data"
36
37alias.url = (
38        "/__scripts/maint/" => "/etc/lighttpd/scripts-maint/"
39)
40
41$HTTP["url"] !~ "^/__scripts/maint" {
42        magnet.attract-physical-path-to = ( "/etc/lighttpd/scripts-maint.lua" )
43}
44
45#### external configuration files
46## mimetype mapping
47include_shell "/usr/share/lighttpd/create-mime.assign.pl"
Note: See TracBrowser for help on using the repository browser.