From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 2c549ee8 for ; Thu, 17 Mar 2016 20:23:27 -0500 (EST) Date: Thu, 17 Mar 2016 20:23:27 -0500 (EST) Message-Id: <10202405584996000839.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: document short URIs X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- document short URIs Modified Files: -------------- mdocml: man.cgi.8 Revision Data ------------- Index: man.cgi.8 =================================================================== RCS file: /home/cvs/mdocml/mdocml/man.cgi.8,v retrieving revision 1.13 retrieving revision 1.14 diff -Lman.cgi.8 -Lman.cgi.8 -u -p -r1.13 -r1.14 --- man.cgi.8 +++ man.cgi.8 @@ -1,6 +1,6 @@ .\" $Id$ .\" -.\" Copyright (c) 2014 Ingo Schwarze +.\" Copyright (c) 2014, 2015, 2016 Ingo Schwarze .\" .\" 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 -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv