Created
January 27, 2015 13:34
-
-
Save evemilano/138387ea7fed988fcc6c to your computer and use it in GitHub Desktop.
Negare l'accesso a certi tipi di file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Non permettere il caricamento di specifici tipi di file | |
| RewriteEngine on | |
| RewriteRule .*\.(jpg|jpeg|gif|png|bmp|exe|swf)$ - [F,NC] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Articolo: https://www.evemilano.com/2014/10/esempi-mod-rewrite-htaccess-apache/