
6 Nov
2016
6 Nov
'16
midnight
On Sat, 2016-11-05 at 10:45 +1100, Michael Schams via luv-main wrote:
<Directory ... > <FilesMatch [WHITELIST] > Require all denied </FilesMatch> </Directory>
Finally I ended up with the following solution, which seems to work well in Apache 2.4.x and is also easy to read: <Directory ... > <If "! %{REQUEST_URI} =~ /\.(png|gif|jpe?g)$/i" > Require all denied </If> </Directory> Cheers Michael