The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
2answers
7k 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
771 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 ...