Usually a redirect is the trick. You can try eventually o more dirty one by 
rewriting the query_string along the way.

Unfortunately I can't help you for the sintax because I'm full time on nginx.

dan
you can surf bsd.numode.eu
or write me on [email protected]

From: Paul Pace <[email protected]>
To: [email protected]
Date: May 31, 2026 19:05:06
Subject: Dropping query string (?) requests in httpd.conf

> 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

Reply via email to