Commit graph

16 commits

Author SHA1 Message Date
Kim Alvefur
7c7e98953e mod_http_files: Fix caching the stringified directory index 2012-12-16 08:17:28 +01:00
Kim Alvefur
8c8d3b759f mod_http_files: Generate simple directory index. 2012-12-11 23:40:30 +01:00
Kim Alvefur
f0449e8428 mod_http_files: Have mimetypes in a shared table. Get mimetypes from /etc/mime.types if exists. 2012-12-11 23:21:25 +01:00
Kim Alvefur
f2336aa626 mod_http_files: Cache data read from disk in a weak table 2012-12-11 23:02:06 +01:00
Kim Alvefur
bcfa20dc80 mod_http_files: Add Last-Modified header 2012-12-11 22:30:50 +01:00
Kim Alvefur
84dcecb046 mod_http_files: Add ETag and check If-None-Match to allow client-side cache 2012-12-11 22:30:13 +01:00
Kim Alvefur
ed92fd78b6 mod_http_files: Return 404 faster if file does not exist 2012-12-11 22:26:41 +01:00
Kim Alvefur
9a459d35a4 mod_http_files: Configurable number of index files to check for 2012-12-11 22:14:55 +01:00
Kim Alvefur
090589dd4b mod_http_files: Respond with a 301 redirect for directories to append a / (fixes relative links) 2012-05-12 02:17:08 +02:00
Matthew Wild
e9de5a1a10 mod_http_files: Specify method in HTTP route 2012-04-27 18:40:44 +01:00
Matthew Wild
7c5c2aea2c mod_http_files, net.http.parser: Move path normalization to net.http.parser so that all modules can benefit 2012-04-26 16:48:16 +01:00
Matthew Wild
0c686d4e7a mod_http_files: Change option name from http_path to http_files_dir 2012-04-26 06:42:02 +01:00
Matthew Wild
19f0eb98bf mod_http_files: Log 404 failure reason 2012-04-26 06:30:29 +01:00
Matthew Wild
23e05cc038 mod_http_files: Return numeric error codes instead of custom error responses 2012-04-26 06:10:14 +01:00
Kim Alvefur
84e65b5745 mod_http_files: Rename argument to reflect what it actually is 2012-04-24 00:17:15 +02:00
Kim Alvefur
b12b795d37 mod_httpserver: Rename to mod_http_files 2012-04-23 23:37:43 +02:00
Renamed from plugins/mod_httpserver.lua (Browse further)