summaryrefslogtreecommitdiff
path: root/httpd.conf.5
diff options
context:
space:
mode:
authorReyk Floeter <reyk@esdenera.com>2014-07-25 19:28:21 +0200
committerReyk Floeter <reyk@esdenera.com>2014-07-25 19:28:21 +0200
commita357341f2687ab20e50640ee9ba995a8a6ca443b (patch)
tree71fe08208bc2064e39765827e64aa2678ad8ad1d /httpd.conf.5
parent6801bf4ff6b4768d779849eab9b36361e2782d13 (diff)
downloadhttpd-a357341f2687ab20e50640ee9ba995a8a6ca443b.tar.gz
httpd-a357341f2687ab20e50640ee9ba995a8a6ca443b.zip
sync
Diffstat (limited to 'httpd.conf.5')
-rw-r--r--httpd.conf.514
1 files changed, 12 insertions, 2 deletions
diff --git a/httpd.conf.5 b/httpd.conf.5
index afef082..cbd1004 100644
--- a/httpd.conf.5
+++ b/httpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: httpd.conf.5,v 1.5 2014/07/22 19:03:21 jmc Exp $
+.\" $OpenBSD: httpd.conf.5,v 1.6 2014/07/25 15:47:11 reyk Exp $
.\"
.\" Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 22 2014 $
+.Dd $Mdocdate: July 25 2014 $
.Dt HTTPD.CONF 5
.Os
.Sh NAME
@@ -115,6 +115,16 @@ The following general table options are available:
.Bl -tag -width Ds
.It Ic listen on Ar address Ic port Ar number
Set the listen address and port.
+.It Ic root Ar directory
+Set the document root of the server.
+The
+.Ar directory
+is a pathname within the
+.Xr chroot 2
+root directory of
+.Nm httpd .
+If not specified, it defaults to
+.Pa /htdocs .
.El
.Sh TYPES
Configure the supported media types.