summaryrefslogtreecommitdiff
path: root/libexec/httpd
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2008-12-06 14:17:43 +0000
committerwiz <wiz@NetBSD.org>2008-12-06 14:17:43 +0000
commit859dc97d795469e44e107d60bdd39879982dffe8 (patch)
treeeca80bf581d45f312747dd0d8c3d9d4417a012ad /libexec/httpd
parentab146a4768a865c897e5f00f0d3b3e66834e4222 (diff)
Move all subsections to main DESCRIPTION, noted by John Nemeth.
Diffstat (limited to 'libexec/httpd')
-rw-r--r--libexec/httpd/bozohttpd.8100
1 files changed, 50 insertions, 50 deletions
diff --git a/libexec/httpd/bozohttpd.8 b/libexec/httpd/bozohttpd.8
index c1bf736d5fe..0af575ecbfe 100644
--- a/libexec/httpd/bozohttpd.8
+++ b/libexec/httpd/bozohttpd.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: bozohttpd.8,v 1.7 2008/12/06 13:30:35 wiz Exp $
+.\" $NetBSD: bozohttpd.8,v 1.8 2008/12/06 14:17:43 wiz Exp $
.\"
.\" $eterna: bozohttpd.8,v 1.78 2008/03/03 03:36:11 mrg Exp $
.\"
@@ -308,55 +308,6 @@ Using the
.Xr inetd 8 ,
you can provide multiple IP-address based HTTP servers by having multiple
listening ports with different configurations.
-.Sh FILES
-.Nm
-looks for a couple of special files in directories that allow certain features
-to be provided on a per-directory basis.
-In addition to the
-.Pa .htpasswd
-used by HTTP basic authorisation,
-if a
-.Pa .bzdirect
-file is found (contents are irrelevant)
-.Nm
-will allow direct access even with the
-.Fl r
-option.
-If a
-.Pa .bzredirect
-symbolic link is found,
-.Nm
-will perform a smart redirect to the target of this symlink.
-The target is assumed to live on the same server.
-If a
-.Pa .bzabsredirect
-symbolic link is found,
-.Nm
-will redirect to the absolute url pointed to by this symlink.
-This is useful to redirect to different servers.
-.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/libexec/httpd httpd -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.
-Typically this, this will be like:
-.Bd -literal
-httpd -C .php /usr/pkg/bin/php /var/www
-.Ed
.Ss NOTES
This server supports the
.Em HTTP/0.9 ,
@@ -431,6 +382,55 @@ To disable SSL SUPPORT compile
with
.Dq -DNO_SSL_SUPPORT
on the compiler command line.
+.Sh FILES
+.Nm
+looks for a couple of special files in directories that allow certain features
+to be provided on a per-directory basis.
+In addition to the
+.Pa .htpasswd
+used by HTTP basic authorisation,
+if a
+.Pa .bzdirect
+file is found (contents are irrelevant)
+.Nm
+will allow direct access even with the
+.Fl r
+option.
+If a
+.Pa .bzredirect
+symbolic link is found,
+.Nm
+will perform a smart redirect to the target of this symlink.
+The target is assumed to live on the same server.
+If a
+.Pa .bzabsredirect
+symbolic link is found,
+.Nm
+will redirect to the absolute url pointed to by this symlink.
+This is useful to redirect to different servers.
+.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/libexec/httpd httpd -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.
+Typically this, this will be like:
+.Bd -literal
+httpd -C .php /usr/pkg/bin/php /var/www
+.Ed
.Sh SEE ALSO
.Xr inetd.conf 5 ,
.Xr inetd 8