Skip to content

Commit cb10ac2

Browse files
author
Daiyrbek Artelov
committed
Resolves #773
1 parent 999398e commit cb10ac2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: uploads/.htaccess

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
Options -ExecCGI
99

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

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

0 commit comments

Comments
 (0)