Log

plugins/mod_http_files.lua @ 9245:cc32aae5c7da

description author age
mod_http_files: Correct cache insertion (fixes #1130) Kim Alvefur Tue, 17 Apr 2018 18:40:57 +0200
mod_http_files: Use path variant of config option API for http_files_dir Kim Alvefur Tue, 21 Mar 2017 12:06:52 +0100
mod_http_files: Pass only the name of the path, get_option_path knows how to deal with it Kim Alvefur Fri, 17 Mar 2017 23:02:35 +0100
mod_http_files: Use API for config options that are file paths Kim Alvefur Thu, 16 Mar 2017 20:53:08 +0100
plugins/various: Use type-specific config API Kim Alvefur Thu, 16 Mar 2017 20:46:06 +0100
mod_http_files: Send larger files using new file handle API Kim Alvefur Mon, 11 Jul 2016 12:20:25 +0200
mod_http_files: Switch to use util.cache for cache Kim Alvefur Mon, 11 Jul 2016 12:17:59 +0200
mod_http_files: send valid ETag header Anton Shestakov Sat, 09 Jul 2016 21:55:37 +0800
Merge 0.9->0.10 Kim Alvefur Thu, 03 Mar 2016 16:05:34 +0100
mod_http_files: Preserve a trailing / in paths (fixes #639) Kim Alvefur Thu, 03 Mar 2016 15:31:46 +0100
mod_http_files: Don't prepend / to path twice, sanitize path does this already Kim Alvefur Thu, 03 Mar 2016 15:30:00 +0100
mod_http_files: Fix traceback when serving a non-wildcard path (fixes #611) Kim Alvefur Thu, 03 Mar 2016 15:28:07 +0100
Merge 0.9->0.10 Kim Alvefur Fri, 08 Jan 2016 16:16:08 +0100
mod_http_files: Santize the path relative to our base URL before translating it to a filesystem path, fixes a relative path traversal vulnerability Matthew Wild Thu, 07 Jan 2016 15:37:47 +0000
Merge 0.9->0.10 Kim Alvefur Sun, 27 Sep 2015 00:36:34 +0200
mod_http_files: Translate forward slashes to local directory separators Kim Alvefur Sat, 26 Sep 2015 19:35:56 +0200
mod_http_files: Strip trailing directory separator regardless of directionality of the slash (fixes #545) Kim Alvefur Sat, 26 Sep 2015 19:34:58 +0200
Merge 0.9->0.10 Kim Alvefur Sun, 09 Mar 2014 23:47:53 +0100
mod_http_files: Strip path separator from end of paths, was broken on Windows (thanks Junne) Kim Alvefur Sun, 09 Mar 2014 22:16:44 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
Merge 0.9->trunk Matthew Wild Sat, 29 Jun 2013 10:11:55 +0100
mod_http_files: Put the MIME type map in a global shared table instead of per-host Kim Alvefur Fri, 28 Jun 2013 19:34:57 +0200
mod_http_files: Put the MIME type map in a global shared table Kim Alvefur Thu, 13 Jun 2013 23:31:11 +0200
mod_http_files: Fix sending Content-Type for index files Kim Alvefur Sun, 23 Dec 2012 17:04:44 +0100
mod_http_files: Allow passing a string to serve() Kim Alvefur Sun, 23 Dec 2012 11:17:44 +0100
mod_http_files: Expose function other modules can use to combine their routes with file paths to serve Kim Alvefur Fri, 21 Dec 2012 20:40:29 +0100
mod_http_files: Work with non-wildcard-routes. Key cache on the original HTTP path. Kim Alvefur Fri, 21 Dec 2012 20:34:40 +0100
mod_http_files: Replace file listing with an event, allowing a different plugin to generate it Kim Alvefur Fri, 21 Dec 2012 20:08:33 +0100
mod_http_files: Export function can be used by other modules to serve files. Don't serve files by default unless http_files_dir is set Kim Alvefur Fri, 21 Dec 2012 17:54:43 +0100
mod_http_files: Rename config options and variable names Kim Alvefur Fri, 21 Dec 2012 17:22:19 +0100
mod_http_files: Log the error if we can't open or read a file Kim Alvefur Fri, 21 Dec 2012 16:10:45 +0100
mod_http_files: Escape paths in redirects Kim Alvefur Fri, 21 Dec 2012 09:04:02 +0100
mod_http_files: Only match on modification date when if-none-match is not present Kim Alvefur Fri, 21 Dec 2012 08:27:14 +0100
mod_http_files: Only serve cached data if etag is unchanged. Kim Alvefur Fri, 21 Dec 2012 08:25:09 +0100
mod_http_files: Make sure file extensions are not nil or empty string Kim Alvefur Fri, 21 Dec 2012 08:19:58 +0100
mod_http_files: Avoid a bunch of table lookups Kim Alvefur Fri, 21 Dec 2012 08:14:33 +0100
mod_http_files: No use in closing a file handle if we couldn't open it Kim Alvefur Fri, 21 Dec 2012 08:10:07 +0100
mod_http_files: Compare If-Modified-Since to last modification date Kim Alvefur Sun, 16 Dec 2012 08:34:50 +0100
mod_http_files: Fix caching the stringified directory index Kim Alvefur Sun, 16 Dec 2012 08:17:28 +0100
mod_http_files: Generate simple directory index. Kim Alvefur Tue, 11 Dec 2012 23:40:30 +0100
mod_http_files: Have mimetypes in a shared table. Get mimetypes from /etc/mime.types if exists. Kim Alvefur Tue, 11 Dec 2012 23:21:25 +0100
mod_http_files: Cache data read from disk in a weak table Kim Alvefur Tue, 11 Dec 2012 23:02:06 +0100
mod_http_files: Add Last-Modified header Kim Alvefur Tue, 11 Dec 2012 22:30:50 +0100
mod_http_files: Add ETag and check If-None-Match to allow client-side cache Kim Alvefur Tue, 11 Dec 2012 22:30:13 +0100
mod_http_files: Return 404 faster if file does not exist Kim Alvefur Tue, 11 Dec 2012 22:26:41 +0100
mod_http_files: Configurable number of index files to check for Kim Alvefur Tue, 11 Dec 2012 22:14:55 +0100
mod_http_files: Respond with a 301 redirect for directories to append a / (fixes relative links) Kim Alvefur Sat, 12 May 2012 02:17:08 +0200
mod_http_files: Specify method in HTTP route Matthew Wild Fri, 27 Apr 2012 18:40:44 +0100
mod_http_files, net.http.parser: Move path normalization to net.http.parser so that all modules can benefit Matthew Wild Thu, 26 Apr 2012 16:48:16 +0100
mod_http_files: Change option name from http_path to http_files_dir Matthew Wild Thu, 26 Apr 2012 06:42:02 +0100
mod_http_files: Log 404 failure reason Matthew Wild Thu, 26 Apr 2012 06:30:29 +0100
mod_http_files: Return numeric error codes instead of custom error responses Matthew Wild Thu, 26 Apr 2012 06:10:14 +0100
mod_http_files: Rename argument to reflect what it actually is Kim Alvefur Tue, 24 Apr 2012 00:17:15 +0200
mod_httpserver: Rename to mod_http_files base plugins/mod_httpserver.lua@697f3142c36c Kim Alvefur Mon, 23 Apr 2012 23:37:43 +0200