Commit graph

14 commits

Author SHA1 Message Date
Waqas Hussain
4750648ca6 mod_httpserver: Read files in binary mode; fixes issues with serving binary files. 2009-12-10 16:27:17 +05:00
Waqas Hussain
eeee71ebc1 mod_httpserver: Skip returning a Content-Type when not known (application/octet-stream is not a correct default). 2009-12-10 16:25:50 +05:00
Waqas Hussain
0103431013 mod_httpserver: Return Content-Type header based on file extension. 2009-12-10 16:22:34 +05:00
Matthew Wild
649fe9f272 mod_httpserver: Update to use new httpserver.new_from_config syntax 2009-10-03 00:57:26 +01:00
Matthew Wild
801957dc96 Merge with 0.5 2009-09-24 11:16:25 +01:00
Matthew Wild
3c22160354 mod_httpserver: Configurable filesystem path to serve from 2009-09-21 17:57:28 +01:00
Matthew Wild
158d975fa1 mod_httpserver: Set default file handler (you can now request static files as /*) and restructure code a bit 2009-08-11 21:33:24 +01:00
Matthew Wild
d8d4b7409c mod_httpserver: Backport from trunk more thorough validation of URLs prior to processing 2009-09-11 03:12:09 +01:00
Matthew Wild
40f2dda03d mod_httpserver: Update to use new new_from_config() too 2009-07-14 21:04:22 +01:00
Matthew Wild
4117259212 mod_httpserver: Use new httpserver helper to initialise ports 2009-07-12 15:22:37 +01:00
Matthew Wild
e45610ce6e Add copyright header to those files missing one 2009-07-10 03:08:38 +01:00
Matthew Wild
3d891979ef mod_httpserver: Allow configuration of ports and base path, like mod_bosh 2009-06-22 16:16:08 +01:00
Matthew Wild
05fe5fb8ff mod_httpserver: Add require 'net.httpserver' 2009-01-12 03:29:05 +00:00
Matthew Wild
8ef6e94079 Add initial mod_httpserver for serving static content 2008-12-22 22:13:22 +00:00