Download raw body.
httpd unable to match on /?
On Mon, 11 May 2026 20:06:53 +0200,
Mischa <openbsd@mlst.nl> wrote:
>
> > Anyway, I not sure that matching by GET parameters in locaiton is good
> > idea.
>
> Where should they be matched?
>
I don't see any easy way to match by location in httpd.
In relayd you have this one:
path option [key [value value]]
Look up the entity as a value in the URL path when using the http
protocol. This type is only available with the direction
request. The key will match the path of the requested URL
without the hostname and query and the value will match the
complete query, for example:
block path "/index.html"
block path "/cgi-bin/t.cgi" value "foo=bar*"
--
wbr, Kirill
httpd unable to match on /?