exponentcms/exponent-cms/master/files/avatars/.htaccess - Htaccess File

exponentcms/exponent-cms/master/files/avatars/.htaccess

# secure directory by disabling script execution
AddHandler cgi-script .php .php3 .php4 .phtml .pl .py .jsp .asp .htm .html .shtml .sh .cgi
Options -ExecCGI

<Files *>
    order deny,allow
    deny from all
</Files>

#<Files ^(*.jpeg|*.jpg|*.JPEG|*.JPG|*.png|*.gif)$>
<FilesMatch ".(jpeg|jpg|JPEG|JPG|png|gif)$">
    order deny,allow
    allow from all
</FilesMatch>
#</Files>

<FilesMatch ".(php|phps|pl|py|jsp|asp|htm|html|shtml|sh|cgi|txt)$">
    ForceType text/plain
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache