Quantcast
Channel: User Schwern - Stack Overflow
Viewing all articles
Browse latest Browse all 581

Answer by Schwern for Require multiple strings

$
0
0

expr can be followed by any valid expression. You can use a !~, but it must be followed by a regex in the form /regex/ or m#regex#.

Require expr %{HTTP_USER_AGENT} !~ m#python-requests/#

Viewing all articles
Browse latest Browse all 581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>