X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=doc%2Fhtparser.doc;h=9bace5b1c4f7f92725064e0712cec39fa78e7533;hb=2824afabef34b9bd0aa41644c7da1858d1532da8;hp=698e559173f74e02c29c84a79d6ddf002cf5c2f3;hpb=16c2bec346ae486bd09d0b18ab276b4c89005cad;p=ashd.git diff --git a/doc/htparser.doc b/doc/htparser.doc index 698e559..9bace5b 100644 --- a/doc/htparser.doc +++ b/doc/htparser.doc @@ -37,9 +37,9 @@ PORT SPECIFICATION Currently, the available 'HANDLERs' are *plain* and *ssl*, for handling plain TCP connections and SSL/TLS-protected connections, respectively. For details regarding the arguments that each handler -accept, simply run *htparser* with 'HANDLER'*:help*. For example, the -command "`htparser ssl:help`" will display help for the *ssl* handler to -standard output and then exit. +accepts, simply run *htparser* with 'HANDLER'*:help*. For example, the +command "`htparser ssl:help`" will display help for the *ssl* handler +to standard output and then exit. The port specifications must be followed by the `--` argument to distinguish them from the root handler specification. @@ -63,19 +63,19 @@ OPTIONS Daemonize after all specified ports have been successfully bound and the root handler has been started. -*-u*:: +*-u* 'USER':: Change UID to 'USER' once all specified ports have been successfully bound and the root handler has been started. 'USER' must be specified symbolically (i.e. not as a numeric UID). -*-r*:: +*-r* 'ROOT':: Change root directory to 'ROOT' once all specified ports have been successfully bound and the root handler has been started. -*-p*:: +*-p* 'PIDFILE':: After having daemonized, write the PID of the new process to 'PIDFILE'. @@ -92,7 +92,7 @@ EXAMPLES `htparser plain:port=8080 -- dirplex /srv/www`:: The same as the previous example, but uses port 8080 instead, - so that it can be started without root privileges.] + so that it can be started without root privileges. `htparser plain ssl:cert=/etc/ssl/private/web.pem -- dirplex /srv/www`::