| main.c File : main.c
Description : Minimalist Standalone Web Server
Category : Application
Author : Charles Yates
NAME
ACP Standalone Web Server.
USAGE
acp-server [ options ]
DESCRIPTIOM
This application provides a standalone HTTP instance.
- The root of the server will default to the current directory or
the directory or properties file specified as an argument
- The server will run on port 8080
- The admin will not be running
- It will accept a maximum of 10 concurrent connections
OPTIONS
-a port
The port for the admin server.
Default: Off.
-d
Run as a daemon.
Default: Run as a terminal process.
-e name=value
Name/value pairs to appended to the site properties file used.
-i initial-threads
Initial number of threads.
Default: 1
-m maximum-threads
Maximum number of threads
Default: 10
-p port
Port of main server.
Default: 8080
-r /directory or /full/path/site.properties
Directory containing the site.properties to use.
Default: Current working directory.
|