logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

eja - micro web server

Author

       Ubaldo Porcheddu (ubaldo@eja.it)

                                                                                                          eja(1)

Description

eja  can  be used as a micro web server for static and dynamic generated content, as a text scanner using
       Lua pattern matching syntax or as a standalone Lua interpreter.

Name

       eja - micro web server

Options

--shell
              launch an interactive shell.

       --updatelibrary
              if library is specified install or update it otherwise update eja to latest version.

       --exportfile
              export file to eja portable bytecode.

       --log-filefile
              log data to file, default: stderr--log-level 0..5
              level can be from 0 (no log) to 5 (trace).

       --scanscript
              if script is present load it as the scanning script using R as full row content and F as  matching
              array elements.  Otherwise print only matching pattern content.

       --scan-filefile
              scanning input file, default: stdin--scan-patternpattern
              set a valid Lua pattern as fields separator, default: %S+--scan-recordpattern
              set a valid Lua pattern as record separator, default: \n--web-start
              start a new web server in background.

       --web-stopport
              stop the web server running on specified port, default 35248.

       --web-hostIP
              bind web server to specified IP, default all available.

       --web-portvalue
              run the web server port on specified value, default 35248.

       --web-pathpath
              web content path, default /var/web

       --web-sizevalue
              set web server buffer size, default 8192.

       --web-user
              add a new web server user.

       --help display help information.

See Also

lua(1), awk(1)

Synopsis

eja [SCRIPT] [OPTION]...

See Also