The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
2k views

nginx httpMapModule regex variables

The HttpMapModule documentation states that: Since 1.0.4, case insensitive regular expressions can be used by prefixing the pattern with ~*. And gives the example: map $uri $myvalue { /aa ...
6
votes
2answers
8k views

Apache 2: Negative FilesMatch / FilesNotMatch

If I want to apply a rule to only some files in apache2.conf, I can use <FilesMatch>. For example: <FilesMatch ".(gif|jpg|jpeg|png|mpg|avi)$"> deny from env=hotlink ...
0
votes
1answer
1k views

Is it possible to write a regular expression that catches a match that others have missed in IIS?

I have written a list of regular expressions that currently redirect unused pages to the appropriately used pages e.g. if someone were to request abc.aspx it redirects them to home.aspx in IIS however ...