- Table of contents
- Module mod_staticfile
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"
do not handle as static file if path-info is present after file name
Default value:disable (file is served by mod_staticfile)
Generate ETags according to the
etag.use-[inode|mtime|size] options. See Configuration options.
prevent mod_staticfile from serving the source of some types of files by extension
url.access-deny from mod_access to prevent all access)
Updated by da 8 months ago · 2 revisions