summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relayd.conf.5
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-11-21 14:12:05 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-11-21 14:12:05 +0000
commitb55935b72e33d89ef3252cc43a95ee4a1ef6e67c (patch)
treec474f5e7d39f992abb5c51fc891077d40e7ccb5d /usr.sbin/relayd/relayd.conf.5
parentbe5ab7bfe39ae355eec8a4dac9d734f6a8650924 (diff)
rename the "url" filter action to "query" to use the correct term.
please update your hoststated.conf configurations. also add more examples to the manpage. alright pyr@
Diffstat (limited to 'usr.sbin/relayd/relayd.conf.5')
-rw-r--r--usr.sbin/relayd/relayd.conf.522
1 files changed, 18 insertions, 4 deletions
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5
index 77506e1d3da..cc0ddf0ec62 100644
--- a/usr.sbin/relayd/relayd.conf.5
+++ b/usr.sbin/relayd/relayd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: relayd.conf.5,v 1.59 2007/11/21 13:04:42 reyk Exp $
+.\" $OpenBSD: relayd.conf.5,v 1.60 2007/11/21 14:12:04 reyk Exp $
.\"
.\" Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org>
.\" Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -547,12 +547,26 @@ Look up the entity as a value in the URL path when using the
protocol.
This type is only available with the direction
.Ic request .
-.It Ic url
-Look up the entity as a GET variable in the URL when using the
+The
+.Ar key
+will match the path of the requested URL without the hostname
+and query and the value will match the complete query,
+for example:
+.Bd -literal -offset indent
+request path filter "*" from "/index.html"
+request path filter "foo=bar*" from "/cgi-bin/t.cgi"
+.Ed
+.It Ic query
+Look up the entity as a query variable in the URL when using the
.Ic http
protocol.
This type is only available with the direction
-.Ic request .
+.Ic request ,
+for example:
+.Bd -literal -offset indent
+# Will match /cgi-bin/example.pl?foo=bar&ok=yes
+request query expect "bar" from "foo"
+.Ed
.El
.Pp
The following actions are available: