Commit Graph

33 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Kim Alvefur f666a0d934 mod_http_files: Strip path separator from end of paths, was broken on Windows (thanks Junne) 12 years ago
Kim Alvefur fdacf5cb34 mod_http_files: Put the MIME type map in a global shared table instead of per-host 13 years ago
Kim Alvefur 360e2a5884 mod_http_files: Fix sending Content-Type for index files 13 years ago
Kim Alvefur 59db48f8cb mod_http_files: Allow passing a string to serve() 13 years ago
Kim Alvefur 4130b38a58 mod_http_files: Expose function other modules can use to combine their routes with file paths to serve 13 years ago
Kim Alvefur 87cf947c6c mod_http_files: Work with non-wildcard-routes. Key cache on the original HTTP path. 13 years ago
Kim Alvefur da563cbf87 mod_http_files: Replace file listing with an event, allowing a different plugin to generate it 13 years ago
Kim Alvefur cd27b11d36 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 13 years ago
Kim Alvefur 8bf32f0b1c mod_http_files: Rename config options and variable names 13 years ago
Kim Alvefur 92abfa2d51 mod_http_files: Log the error if we can't open or read a file 13 years ago
Kim Alvefur b1dd7b0be7 mod_http_files: Escape paths in redirects 13 years ago
Kim Alvefur d1880e05fd mod_http_files: Only match on modification date when if-none-match is not present 13 years ago
Kim Alvefur f098458b69 mod_http_files: Only serve cached data if etag is unchanged. 13 years ago
Kim Alvefur 0ff07edb45 mod_http_files: Make sure file extensions are not nil or empty string 13 years ago
Kim Alvefur dc08340e9f mod_http_files: Avoid a bunch of table lookups 13 years ago
Kim Alvefur e104ed8cac mod_http_files: No use in closing a file handle if we couldn't open it 13 years ago
Kim Alvefur eaba58e39b mod_http_files: Compare If-Modified-Since to last modification date 13 years ago
Kim Alvefur 7c7e98953e mod_http_files: Fix caching the stringified directory index 13 years ago
Kim Alvefur 8c8d3b759f mod_http_files: Generate simple directory index. 13 years ago
Kim Alvefur f0449e8428 mod_http_files: Have mimetypes in a shared table. Get mimetypes from /etc/mime.types if exists. 13 years ago
Kim Alvefur f2336aa626 mod_http_files: Cache data read from disk in a weak table 13 years ago
Kim Alvefur bcfa20dc80 mod_http_files: Add Last-Modified header 13 years ago
Kim Alvefur 84dcecb046 mod_http_files: Add ETag and check If-None-Match to allow client-side cache 13 years ago
Kim Alvefur ed92fd78b6 mod_http_files: Return 404 faster if file does not exist 13 years ago
Kim Alvefur 9a459d35a4 mod_http_files: Configurable number of index files to check for 13 years ago
Kim Alvefur 090589dd4b mod_http_files: Respond with a 301 redirect for directories to append a / (fixes relative links) 14 years ago
Matthew Wild e9de5a1a10 mod_http_files: Specify method in HTTP route 14 years ago
Matthew Wild 7c5c2aea2c mod_http_files, net.http.parser: Move path normalization to net.http.parser so that all modules can benefit 14 years ago
Matthew Wild 0c686d4e7a mod_http_files: Change option name from http_path to http_files_dir 14 years ago
Matthew Wild 19f0eb98bf mod_http_files: Log 404 failure reason 14 years ago
Matthew Wild 23e05cc038 mod_http_files: Return numeric error codes instead of custom error responses 14 years ago
Kim Alvefur 84e65b5745 mod_http_files: Rename argument to reflect what it actually is 14 years ago
Kim Alvefur b12b795d37 mod_httpserver: Rename to mod_http_files 14 years ago
Kim Alvefur 148a2fd256 mod_httpserver: Adapt to use the new HTTP API 14 years ago
Matthew Wild 5b93b0675f mod_httpserver: Serve index.html if a request is made for a directory and it contains one (thanks Brian Cully) 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 3f619ace4b mod_httpserver: Rudimentary directory detection, return forbidden instead of causing a traceback (since commit 0325f241a26c) 16 years ago
Matthew Wild 7439c858d5 mod_httpserver: Rudimentary directory detection, return forbidden instead of causing a traceback (since commit 0325f241a26c) 16 years ago
Waqas Hussain cc9e756839 mod_httpserver: Text files are text/plain, and not plain/text. 16 years ago
Waqas Hussain 7fa4ee73e2 mod_httpserver: Text files are text/plain, and not plain/text. 16 years ago
Waqas Hussain 01e8004bf6 mod_httpserver: Removed a log message. 16 years ago
Waqas Hussain 74e0382621 mod_httpserver: Removed a log message. 16 years ago
Waqas Hussain 4750648ca6 mod_httpserver: Read files in binary mode; fixes issues with serving binary files. 16 years ago
Waqas Hussain 7ea7cdcbf3 mod_httpserver: Read files in binary mode; fixes issues with serving binary files. 16 years ago
Waqas Hussain eeee71ebc1 mod_httpserver: Skip returning a Content-Type when not known (application/octet-stream is not a correct default). 16 years ago
Waqas Hussain 62460850a8 mod_httpserver: Skip returning a Content-Type when not known (application/octet-stream is not a correct default). 16 years ago
Waqas Hussain 0103431013 mod_httpserver: Return Content-Type header based on file extension. 16 years ago
Waqas Hussain 6a4b442aba mod_httpserver: Return Content-Type header based on file extension. 16 years ago
Waqas Hussain 36710bbfac mod_httpserver: Delay setup until after server is started. 16 years ago
Matthew Wild 649fe9f272 mod_httpserver: Update to use new httpserver.new_from_config syntax 16 years ago