Anyone wit an idea? #Apache #mod_rewrite

https://www.example.com/?anytext must return a 403, while https://www.example.com/anytext?anytext must not.

Code:

RewriteEngine On
RewriteCond %{QUERY_STRING} ^/?.+$
RewriteRule ^ - [R=403,L]

Unfortunately, it matches for both ?anytext and anytext?anytext

I'm pulling my hair out :-(

4