1 # case insensitive file matching. See conversations on the svn list circa 2008-03-29
2 # regarding this setting. It is basically impossible to get this string perfect,
3 # and so there is an inherent security risk of allowing untrusted users to upload
5 <Files ~ "/\.(php|php3|php4|php5|php6|pht|php3p|phtml|htm|html|pl|py|pyc|pyo|rb|cgi)$/i">
10 # to be more secure, you can deny access to all files
11 # and then only allow access to specific extensions
17 #<Files ~ "/\.(gif|jpg|mp3|mov|png|bmp|pdf)$/i">
21 <IfModule mod_expires.c>
23 ExpiresDefault "access plus 1 week"