diff --git a/main.lua b/main.lua index 27107ae..297abbd 100755 --- a/main.lua +++ b/main.lua @@ -11,11 +11,21 @@ while fcgi.accept() do if appfn then appfn.run(fcgi) else - fcgi.print"Content-Type: text/plain; charset=utf-8\r\n\r\n" - fcgi.print("No such application application: `" .. app .. "'\n") - fcgi.print("Available applications:\n") + fcgi.print"Content-Type: text/html; charset=utf-8\r\n\r\n" + fcgi.print[[ + +Annwan's CGI scripts +]] + if app and app ~= "" then + fcgi.print("

No such application application: " .. app .. "\n") + end + fcgi.print("

Available applications:

+ +]] end end