Remove duplicate part (pasto?). Remove trailing whitespace.

Use Aq where easily possible.
This commit is contained in:
wiz 2009-04-18 12:35:51 +00:00
parent e7f34be0d2
commit 98d3964304

View File

@ -1,4 +1,4 @@
.\" $NetBSD: bozohttpd.8,v 1.11 2009/04/18 07:28:24 mrg Exp $
.\" $NetBSD: bozohttpd.8,v 1.12 2009/04/18 12:35:51 wiz Exp $
.\"
.\" $eterna: bozohttpd.8,v 1.84 2009/04/18 01:48:18 mrg Exp $
.\"
@ -97,7 +97,7 @@ directory is expected to contain the CGI programs to be used.
looks for URL's in the form of
.Em /cgi-bin/\*[Lt]scriptname\*[Gt]
where
.Em \*[Lt]scriptname\*[Gt]
.Em Aq scriptname
is a valid CGI program in the
.Ar cgibin
directory.
@ -423,30 +423,6 @@ Lookups for these names are done in a case-insensitive manner.
.Pp
To use
.Nm
has support for SSLv2, SSLv3, and TLSv1 protocols that is included by
default. It requires linking with the crypto and ssl library, using
.Dq -lcrypto -lssl .
To disable SSL SUPPORT compile
.Nm
with
.Dq -DNO_SSL_SUPPORT
on the compiler command line.
.Sh EXAMPLES
To configure set of virtual hosts, one would use an
.Xr inetd.conf 5
entry like:
.Bd -literal
http stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd -v /var/vroot /var/www
.Ed
.Pp
and inside
.Pa /var/vroot
create a directory (or a symlink to a directory) with the same name as
the virtual host, for each virtual host.
Lookups for these names are done in a case-insensitive manner.
.Pp
To use
.Nm
with PHP, one must use the
.Fl C
option to specify a CGI handler for a particular file type.
@ -466,7 +442,7 @@ It was first written in perl, based on another perl http server
called
.Dq tinyhttpd .
It was then rewritten from scratch in perl, and then once again in C.
From
From
.Dq bozohttpd
version 20060517, it has been integrated into
.Nx .