Commit graph

67 commits

Author SHA1 Message Date
Matthew Wild
9a9d82e049 mod_http: Fix traceback when no HTTP services succeed in binding 2012-05-26 19:49:43 +01:00
Kim Alvefur
1e99d3bcd0 mod_http: Fix normalize_path('/') to not return an empty string, fixes module:http_url() 2012-05-25 03:39:45 +02:00
Matthew Wild
72ff00a1cd mod_http: Add module:http_url([app_name,][default_path]) for a module to get a guess at its external URL 2012-05-18 04:24:33 +01:00
Matthew Wild
ce88b45b6f mod_http: Depend on mod_http_errors 2012-04-28 14:46:36 +01:00
Matthew Wild
e865b1b3fe net.http.server, mod_http: Support http_default_host config option to specify where to direct requests for unknown HTTP vhosts 2012-04-27 23:11:23 +01:00
Matthew Wild
af90690399 mod_http: Allow a route value to be static data rather than a handler function 2012-04-27 19:02:36 +01:00
Matthew Wild
c06a35c238 mod_http: Routes now require a method to be specified, but the path has become optional (defaults to the base path with no trailing '/' 2012-04-27 18:37:40 +01:00
Matthew Wild
d4e4489577 mod_http: Link to docs on routes in error message 2012-04-27 18:36:27 +01:00
Matthew Wild
fad0359e75 mod_http: Remove unused import of url.parse 2012-04-26 16:53:32 +01:00
Matthew Wild
6c6566bace mod_http: Switch to single option for specifying HTTP app bases, http_paths. Keys are app/module names, values are base paths. 2012-04-26 06:41:11 +01:00
Matthew Wild
355eb83a4a mod_http: Use module:hook/unhook_event_object() so that handlers get unregistered if mod_http is unloaded 2012-04-26 05:40:04 +01:00
Matthew Wild
904d33cce4 mod_http: Fix specifying method in app route keys 2012-04-24 16:02:30 +01:00
Matthew Wild
a3ceb27bae mod_http: Pass portion of path that matched wildcard to wildcard handlers, as a second parameter 2012-04-23 21:34:05 +01:00
Matthew Wild
f28df31a1b mod_http: Support for default_path in apps 2012-04-23 18:23:49 +01:00
Matthew Wild
c51dcd332f mod_http: Revamp module for new API and config 2012-04-23 14:16:59 +01:00
Waqas Hussain
4ce0cecfe4 mod_http: Include handlers of non-global modules. 2012-04-21 18:23:44 +05:00
Waqas Hussain
8d2bb74a6a mod_http: Provide HTTP service. 2012-04-21 17:38:48 +05:00