Skip to content

Commit

Permalink
Resolves #773
Browse files Browse the repository at this point in the history
  • Loading branch information
Daiyrbek Artelov committed Aug 1, 2018
1 parent 999398e commit cb10ac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uploads/.htaccess
Expand Up @@ -8,11 +8,11 @@
Options -ExecCGI

# Deny files access for some file extensions
<FilesMatch "(?i)\.(php|php5|php4|php3|php2|phtml|pl|py|jsp|asp|htm|shtml|sh|cgi)$">
<FilesMatch "(?i)\.(php|php5|php4|php3|php2|phtml|pl|py|jsp|asp|htm|html|shtml|sh|cgi)$">
ForceType text/plain
Order Deny,Allow
Deny from All
</FilesMatch>

# Process script files as plain text
AddHandler default-handler .php .php5 .php4 .php3 .php2 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi
AddHandler default-handler .php .php5 .php4 .php3 .php2 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi

0 comments on commit cb10ac2

Please sign in to comment.