diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-07-29 09:18:40 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-07-29 09:18:40 +0300 |
commit | cc91d59a61ae557f366f6717cd8d6c37c2d3e9d9 (patch) | |
tree | 183dd7ce62d58ba6a4aa3249d6f61e1dd172ded9 | |
parent | 887f0c1ae86318af0ffcc722bed8457888542db9 (diff) | |
download | vmod-basicauth-cc91d59a61ae557f366f6717cd8d6c37c2d3e9d9.tar.gz vmod-basicauth-cc91d59a61ae557f366f6717cd8d6c37c2d3e9d9.tar.bz2 |
Use EX/EE for examples in the manpage.
-rw-r--r-- | src/vmod-basicauth.3 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/vmod-basicauth.3 b/src/vmod-basicauth.3 index 31990c0..d4403c7 100644 --- a/src/vmod-basicauth.3 +++ b/src/vmod-basicauth.3 @@ -41,14 +41,12 @@ is the authentication string (normally, the value of the \fBAuthorization\fR HTTP header. .PP .SS Example -.sp -.nf -.in +2 +.PP +.EX if (!basicauth.match("/var/www/.htpasswd", req.http.Authorization)) { error 401 "Restricted"; } -.in -.fi +.EE .\" The MANCGI variable is set by man.cgi script on Ulysses. .\" The download.inc file contains the default DOWNLOAD section .\" for man-based doc pages. |