mod_http_upload: Include the current VirtualHost name in greeting to help with debugging
--- a/mod_http_upload/mod_http_upload.lua Fri Mar 23 22:38:46 2018 +0100
+++ b/mod_http_upload/mod_http_upload.lua Sun Mar 25 20:27:14 2018 +0200
@@ -310,7 +310,7 @@
local function serve_hello(event)
event.response.headers.content_type = "text/html;charset=utf-8"
- return "<!DOCTYPE html>\n<h1>Hello from mod_"..module.name.."!</h1>\n";
+ return "<!DOCTYPE html>\n<h1>Hello from mod_"..module.name.." on "..module.host.."!</h1>\n";
end
module:provides("http", {