Project

General

Profile

Actions

Mod staticfile » History » Revision 1

Revision 1/2 | Next »
gstrauss, 2020-05-19 16:50


Module mod_staticfile

Description

mod_staticfile is used to serve files.

mod_staticfile is loaded in lighttpd by default and does not have to be listed in server.modules. If mod_staticfile is listed in server.modules, it should be listed after all other modules or else mod_staticfile will handle the request and send the static file before other modules (such as mod_fastcgi) have a chance to process the request as a script. To disable automatic loading of mod_staticfile, set server.compat-module-load = "disable"

Options

static-file.disable-pathinfo
do not handle as static file if path-info is present after file name
Default value:disable (file is served by mod_staticfile)

static-file.etags
Generate ETags
Default value:enable

static-file.exclude-extensions
prevent mod_staticfile from serving the source of some types of files by extension
(Use url.access-deny from mod_access to prevent all access)
Default value:empty

Updated by gstrauss over 4 years ago · 1 revisions