Command line options for Phttpd
There are lots of command line options which can be used with Phttpd,
but it's often better to set these options in the configuration file
instead.
Available options:
- -d[<level>]
- Set the debug level. Also causes the server not to fork-and-detach from
the controlling TTY. This can be handy when starting it from inside a
debugger.
- -p<port>
- The TCP/IP port to bind the server to listen for incoming connections on.
- -f<config-path>
- The configuration file to include. You can include this option
multiple times.
- -A[<number>]
- The number of bound threads listening for new incoming connections.
- -B[<number>]
- Use bound threads if nonzero.
- -b<backlog>
- The TCP/IP connection backlog limit.
- -u<user>
- The user to run the daemon as.
- -g<group>
- The group to run the daemon as.
- -H
- Display a list of available options.
- -s
- Don't display the message about the copying information at start-up.
(You shouldn't use this option if you're nice :-)
- -G<terminate-time>[/<check-time>]
- Connection garbage collect parameters.
- -L<log-path>
- Path to the request logging file (in CERN Common Log format).
- -P<pid-path>
- Path to a file where the process id of the daemon will be written.
- -C<counting-path>
- Path to the NBDM file where the request counters will be stored.
- -E<stderr-path>
- Path to a file where the stderr output from CGI scripts
will be written
- -T<select-timeout>
- The requests data receive timeout limit.
- -w
- Daemon was started from Inetd or Ackpfd. Causes it to use the stdin
file descriptor as the socket to listen for new connections on.
- -t<timeout>
- Selfterminate-timeout limit.