| Rev | Line | |
|---|
| [1021] | 1 | server.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 |
|---|
| 8 | server.document-root = "/var/www/" |
|---|
| 9 | |
|---|
| 10 | ## where to send error-messages to |
|---|
| 11 | server.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) |
|---|
| 19 | server.port = 33696 |
|---|
| 20 | |
|---|
| 21 | ## bind to localhost only (default: all interfaces) |
|---|
| 22 | ## server.bind = "localhost" |
|---|
| 23 | |
|---|
| 24 | ## to help the rc.scripts |
|---|
| 25 | server.pid-file = "/var/run/lighttpd.pid" |
|---|
| 26 | |
|---|
| 27 | ## change uid to <uid> (default: don't care) |
|---|
| 28 | server.username = "www-data" |
|---|
| 29 | |
|---|
| 30 | ## change uid to <uid> (default: don't care) |
|---|
| 31 | server.groupname = "www-data" |
|---|
| 32 | |
|---|
| 33 | alias.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 |
|---|
| 43 | include_shell "/usr/share/lighttpd/create-mime.assign.pl" |
|---|
Note: See
TracBrowser
for help on using the repository browser.