You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
188 B

  1. local fcgi = require"fcgi"
  2. while fcgi.accept() do
  3. fcgi.print("Content-Type: text/plain; charset=utf-8\r\n\r\n")
  4. fcgi.print("Hello from" .. fcgi.getenv("DOCUMENT_URI") .. "\n")
  5. end