diff --git a/yqtemplate.lua b/yqtemplate.lua new file mode 100644 index 0000000..e1138ad --- /dev/null +++ b/yqtemplate.lua @@ -0,0 +1,5 @@ +local fcgi = require"fcgi" +while fcgi.accept() do + fcgi.print("Content-Type: text/plain; charset=utf-8\r\n\r\n") + fcgi.print("Hello from" .. fcgi.getenv("DOCUMENT_URI") .. "\n") +end