source: lvs/debian/config/etc/lighttpd/lighttpd.conf @ 1021

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