roikles/Flexbones/master/app/uploads/.htaccess - Htaccess File


# Security
# Dont execute anything that contains the string 'php'
# This WILL cause problems with Gravity PDF Extended as they run php from the uploads folder

<FilesMatch ".(php|php.)$">
Order Allow,Deny
Deny from all

# Dont allow any of the listed scripts to be executed within this directory
# Typically you would never need to execute any code within your uploads dirtectory
# If you find this breaks something it could be a badly built plugin using this data-store for its code (which is bad!)

Options -ExecCGI
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi

On Github License


Download PDF of Htaccess file