Commit Graph

24 Commits (733cbda1e50bba8a4e6afa9e00ecd50445d9d7fa)

Author SHA1 Message Date
Matthew Wild 3e74495e55 mod_http: Fix pattern and slightly improve efficiency and memory usage of wildcard HTTP handlers 13 years ago
Kim Alvefur 12f09bf02b mod_http: Make module:http_url() aware of http_host 13 years ago
Matthew Wild 19d7b4c584 mod_http: Rename variable for clarity 13 years ago
Matthew Wild e3281bcdb9 mod_http: Add 'http_host' option to change the HTTP virtual host that this host is accessible at (e.g. allows mapping a host to '127.0.0.1') 13 years ago
Waqas Hussain 025eca8452 mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). 13 years ago
Kim Alvefur d2867a4507 mod_http: Rework how module:http_url() builds the url. 14 years ago
Kim Alvefur 958f6dc50e mod_http: Don't produce paths with double / if a module is set to serve / 14 years ago
Matthew Wild 21f8b04a86 mod_http: Fix traceback when no HTTP services succeed in binding 14 years ago
Kim Alvefur ee0b51c86f mod_http: Fix normalize_path('/') to not return an empty string, fixes module:http_url() 14 years ago
Matthew Wild ee999e9867 mod_http: Add module:http_url([app_name,][default_path]) for a module to get a guess at its external URL 14 years ago
Matthew Wild 24c350bf73 mod_http: Depend on mod_http_errors 14 years ago
Matthew Wild fb9c619707 net.http.server, mod_http: Support http_default_host config option to specify where to direct requests for unknown HTTP vhosts 14 years ago
Matthew Wild 27e152ee76 mod_http: Allow a route value to be static data rather than a handler function 14 years ago
Matthew Wild 9d5830281a mod_http: Routes now require a method to be specified, but the path has become optional (defaults to the base path with no trailing '/' 14 years ago
Matthew Wild 5ecbd22498 mod_http: Link to docs on routes in error message 14 years ago
Matthew Wild 25e1f9296a mod_http: Remove unused import of url.parse 14 years ago
Matthew Wild 4d44ce6743 mod_http: Switch to single option for specifying HTTP app bases, http_paths. Keys are app/module names, values are base paths. 14 years ago
Matthew Wild 93f86e22d5 mod_http: Use module:hook/unhook_event_object() so that handlers get unregistered if mod_http is unloaded 14 years ago
Matthew Wild 3e2df1d2fe mod_http: Fix specifying method in app route keys 14 years ago
Matthew Wild a2e8ab3555 mod_http: Pass portion of path that matched wildcard to wildcard handlers, as a second parameter 14 years ago
Matthew Wild ead2ecb05d mod_http: Support for default_path in apps 14 years ago
Matthew Wild 46e69d7017 mod_http: Revamp module for new API and config 14 years ago
Waqas Hussain 668d1d442a mod_http: Include handlers of non-global modules. 14 years ago
Waqas Hussain 10a43c8ff2 mod_http: Provide HTTP service. 14 years ago