Dropping query string (?) requests in httpd.conf

Paul Pace <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
Hello!

I am trying to drop query string requests in httpd.conf.

I have tried variations of location and location match (I'm pretty rough 
at getting Lua patterns configured) and nothing seems to work.

This does not work:

location "*\?" { block drop }

Any tips much appreciated.

Thank you,


Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.