Need some help in writing a rule to block the following request
The url in question is:
www.somesite.com/catalogsearch/result/?q=downloader
I have tried the following, but this does not work
location ^~ catalogsearch/result/?q=downloader {
deny all;
}
I "think" the because the ? question mark is included is treating the url as a query string??
Regards