exponentcms/exponent-cms/master/tmp/img_cache/.htaccess - Htaccess File

exponentcms/exponent-cms/master/tmp/img_cache/.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>

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

<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