diff options
-rw-r--r-- | src/vmod-basicauth.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmod-basicauth.3 b/src/vmod-basicauth.3 index 58e4331..883410e 100644 --- a/src/vmod-basicauth.3 +++ b/src/vmod-basicauth.3 @@ -38,49 +38,49 @@ The \fBmatch\fR function returns \fBTRUE\fR or \fBFALSE\fR depending on whether the authentication succeeds or not. The \fIpassfile\fR argument supplies the name of the password file to use. The \fIauthstr\fR argument is the authentication string (normally, the value of the \fBAuthorization\fR HTTP header. .PP .SS Example: VCL 3.0 .PP .EX if (!basicauth.match("/var/www/.htpasswd", req.http.Authorization)) { error 401 "Restricted"; } .EE .SS Example: VCL 4.0 .PP .EX if (!basicauth.match("/var/www/.htpasswd", req.http.Authorization)) { return (synth(401, "Restricted")); } .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. .if "\V[MANCGI]"WEBDOC" \{\ . ds package vmod-basicauth -. ds version 1.2 +. ds version 1.3 . so download.inc \} .SH "SEE ALSO" .BR vcl (7), .BR varnishd (1). .SH AUTHORS Sergey Poznyakoff .SH "BUG REPORTS" Report bugs to <gray@gnu.org>. .SH COPYRIGHT Copyright \(co 2013-2014 Sergey Poznyakoff .br .na License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> .br .ad This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .\" Local variables: .\" eval: (add-hook 'write-file-hooks 'time-stamp) .\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.-]* [0-9] \"" .\" time-stamp-format: "%:B %:d, %:y" .\" time-stamp-end: "\"" .\" time-stamp-line-limit: 20 |