diff options
| author | jmmv <jmmv@NetBSD.org> | 2011-04-24 07:17:02 +0000 |
|---|---|---|
| committer | jmmv <jmmv@NetBSD.org> | 2011-04-24 07:17:02 +0000 |
| commit | bec2d1063c09f288c4ef600b560d2d3aa994f097 (patch) | |
| tree | c40c7d12c79b0599a48f03809c78c2797ec25e3b /libexec/httpd | |
| parent | 4a92a40d1900def7f28423c7a678c430f1397ce8 (diff) | |
Remove the "This option..." sentence prefix for all option definitions.
Adjust some sentences so that the new text makes sense. OK mrg@.
Diffstat (limited to 'libexec/httpd')
| -rw-r--r-- | libexec/httpd/bozohttpd.8 | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/libexec/httpd/bozohttpd.8 b/libexec/httpd/bozohttpd.8 index fe281d6dbe2..e59d3a6596d 100644 --- a/libexec/httpd/bozohttpd.8 +++ b/libexec/httpd/bozohttpd.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: bozohttpd.8,v 1.27 2011/04/02 07:44:15 mbalmer Exp $ +.\" $NetBSD: bozohttpd.8,v 1.28 2011/04/24 07:17:02 jmmv Exp $ .\" .\" $eterna: bozohttpd.8,v 1.99 2010/09/20 22:26:28 mrg Exp $ .\" @@ -26,7 +26,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd April 2, 2011 +.Dd April 23, 2011 .Dt HTTPD 8 .Os .Sh NAME @@ -79,12 +79,12 @@ hopefully increasing its security. The following options are available: .Bl -tag -width xxxcgibin .It Fl b -This option enables daemon mode, where +Enables daemon mode, where .Nm detaches from the current terminal, running in the background and servicing HTTP requests. .It Fl C Ar suffix cgihandler -This option adds a new CGI handler program for a particular file type. +Adds a new CGI handler program for a particular file type. The .Ar suffix should be any normal file suffix, and the @@ -96,7 +96,7 @@ Multiple .Fl C options may be passed. .It Fl c Ar cgibin -This option enables the CGI/1.1 interface. +Enables the CGI/1.1 interface. The .Ar cgibin directory is expected to contain the CGI programs to be used. @@ -114,7 +114,7 @@ Note that the CGI/1.1 interface is not available with .Em ~user translation. .It Fl e -This option causes +Causes .Nm to not clear the environment when used with either the .Fl t @@ -122,32 +122,29 @@ or .Fl U options. .It Fl f -This option stops the +Stops the .Fl b flag from .Nm detaching from the tty and going into the background. .It Fl H -This option causes directory index mode to hide files and directories +Causes directory index mode to hide files and directories that start with a period, except for .Pa .. . Also see .Fl X . .It Fl I Ar port -This option is only valid with the -.Fl b -option. -It causes +Causes .Ar port to use used as the port to bind daemon mode. The default is the .Dq http port. -.It Fl i Ar address This option is only valid with the .Fl b option. -It causes +.It Fl i Ar address +Causes .Ar address to use used as the address to bind daemon mode. If otherwise unspecified, the address used to bind is derived from the @@ -157,8 +154,11 @@ which defaults to the name returned by Only the last .Fl i option is used. +This option is only valid with the +.Fl b +option. .It Fl M Ar suffix type encoding encoding11 -This option adds a new entry to the table that converts file suffixes to +Adds a new entry to the table that converts file suffixes to content type and encoding. This option takes four additional arguments containing the file prefix, its @@ -174,7 +174,7 @@ Multiple .Fl M options may be passed. .It Fl n -This option stops +Stops .Nm from doing IP address to name resolution of hosts for setting the .Ev REMOTE_HOST @@ -183,7 +183,7 @@ This option has no effect without the .Fl c option. .It Fl P Ar pidfile -This option causes +Causes .Nm to create a pid file in .Ar pidfile @@ -191,14 +191,14 @@ when run in daemon mode with the .Fl b option. .It Fl p Ar pubdir -This option changes the default user directory for +Changes the default user directory for .Em /~user/ translations from .Dq public_html to .Ar pubdir . .It Fl r -This option forces pages besides the +Forces pages besides the .Dq index.html (see the .Fl X @@ -207,14 +207,14 @@ refer to this web server, otherwise a redirect to the .Dq index.html page will be returned instead. .It Fl S Ar server_software -This option sets the internal server version to +Sets the internal server version to .Ar server_software . .It Fl s -This option forces logging to be set to stderr always. +Forces logging to be set to stderr always. .It Fl t Ar chrootdir -When this option is used, +Makes .Nm -will chroot to the specified directory +chroot to the specified directory before answering requests. Every other path should be specified relative to the new root, if this option is used. @@ -223,7 +223,7 @@ is normally replaced with an empty environment with this option, unless the .Fl e option is also used. .It Fl U Ar username -This option causes +Causes .Nm to switch to the user and the groups of .Ar username @@ -236,7 +236,7 @@ to clear the environment unless the .Fl e option is given. .It Fl u -This option enables the transformation of Uniform Resource Locators of +Enables the transformation of Uniform Resource Locators of the form .Em /~user/ into the directory @@ -245,7 +245,7 @@ into the directory .Fl p option above). .It Fl V -This option sets the default virtual host directory to +Sets the default virtual host directory to .Ar slashdir . If no directory exists in .Ar virtualroot @@ -254,7 +254,7 @@ for the request, then will be used. The default behaviour is to return 404 (Not Found.) .It Fl v Ar virtualroot -This option enables virtual hosting support. +Enables virtual hosting support. Directories in .Ar virtualroot will be searched for a matching virtual host name, when parsing @@ -268,17 +268,17 @@ See the .Sx EXAMPLES section for an example of using this option. .It Fl X -This option enables directory indexing. +Enables directory indexing. A directory index will be generated only when the default file (i.e. .Pa index.html normally) is not present. .It Fl x Ar index -This option changes the default file read for directories from +Changes the default file read for directories from .Dq index.html to .Ar index . .It Fl Z Ar certificate_path privatekey_path -This option sets the path to the server certificate file and the private key file +Sets the path to the server certificate file and the private key file in pem format. It also causes .Nm |
