Skip to content
Permalink
Browse files

Resolves #773

  • Loading branch information...
4unkur committed Aug 1, 2018
1 parent 999398e commit cb10ac2294cb2c3a6d2159f9a2bb8c58a2a10a47
Showing with 2 additions and 2 deletions.
  1. +2 −2 uploads/.htaccess
@@ -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.
You can’t perform that action at this time.