NAME¶
tntnet - web application server for c++
SYNOPSIS¶
[
-c file]
[
--logall] -C [
-q
query-string] [
componentId ...]
DESCRIPTION¶
This manual page documents briefly the
tntnet command.
tntnet is a web server that can generate dynamic content via precompiled
C++ modules.
OPTIONS¶
A summary of options is included below.
- -c file
- Use file as the configuration file. If the -c
is omitted, the first nonoption argument is used as the config file.
- --logall
- Initialize logging earlier. Normally logging is initialized
after starting the listeners and changing user so that logfiles are
created with the right owner. For debugging reasons this option forces to
do that earlier.
- -C
- Call components and print the result to stdout instead of
starting tntnet as a webserver
- -q query-string
- In -C mode pass this query string to the component. The
option may be repeated multiple times to pass name-value-pairs
easily.
EXAMPLE¶
tntnet -C -q arg1=35 -q arg2=7 -q op=/ calc@calc
calls the component calc@calc with query parameters and prints the result to
stdout.
FILES¶
/etc/tntnet/tntnet.conf The default configuration file.
ENVIRONMENT¶
- TNTNET_CONF
- This is checked for the configuration file name if it is
not specified on the command line.
AUTHOR¶
tntnet was written by Tommi Mäkitalo <tommi@tntnet.org>.
This manual page was written by Kari Pahula <kaol@debian.org>, for the
Debian project (but may be used by others).
SEE ALSO¶
tntnet-config(1),
ecpp(7),
ecppc(1),
ecppl(1),
ecppll(1),
tntnet.conf(7),
tntnet.properties(7).
More documentation can be found in
/usr/share/doc/tntnet-doc/.