summaryrefslogtreecommitdiffstats
path: root/man.cgi.8
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-03-18 01:22:56 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-03-18 01:22:56 +0000
commit0fa45817cf7eb87f808a954fb566fa6683a19d3f (patch)
tree5e9f4afc4f7e734e26a7a97226ccdca84a2f9301 /man.cgi.8
parent72df3e1d32f66115a62b6fd2a8a0acc0e9173468 (diff)
downloadmandoc-0fa45817cf7eb87f808a954fb566fa6683a19d3f.tar.gz
document short URIs
Diffstat (limited to 'man.cgi.8')
-rw-r--r--man.cgi.811
1 files changed, 10 insertions, 1 deletions
diff --git a/man.cgi.8 b/man.cgi.8
index 21f5e08e..adc483a8 100644
--- a/man.cgi.8
+++ b/man.cgi.8
@@ -1,6 +1,6 @@
.\" $Id$
.\"
-.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
+.\" Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -238,10 +238,19 @@ The host name and a following slash.
.It
The path to the program, normally
.Pa cgi-bin/man.cgi/ .
+On
+.Lk http://man.openbsd.org/ ,
+.Xr httpd 8
+is configured such that the path to the program can be omitted.
.It
To show a single page, a slash, the manpath, another slash,
and the name of the requested file, for example
.Pa /OpenBSD-current/man1/mandoc.1 .
+This can be abbreviated according to the following syntax:
+.Sm off
+.Op / Ar manpath Oo / Cm man Ar sec Oc Op / Ar arch
+.Pf / Ar name Op \&. Ar sec
+.Sm on
.It
For searches, a query string starting with a question mark
and consisting of