en - Hoksmur/uLuaNode GitHub Wiki

uLuaNode has 2 subsystem:

  • reset parameters and user files
    • init.lua - check at start 'ritual dance' and, if it found, do 'hard reset' to default settings.
    • main.lua - the main user script
    • new.lua - if exist, this file replace main.lua at start
    • default.lua - like new.lua, but if need reset parameters
  • http protocol support
    • http.lua - the main module's file
    • parse.lua - parsing request for extract filename and parameters
    • html404.lua - generate answer if file isn't exist
    • type(extension).lua - parser for every type file
    • (name).pht, (name).html, (script).lua - web content pages. Every called part should retun desired string
  • runtime.lua - exmple using