# Protect the data directory from direct web access RewriteEngine On # Block direct access to data/ RewriteRule ^data/ - [F,L] # PHP settings for file uploads php_value upload_max_filesize 2048M php_value post_max_size 2100M php_value max_execution_time 300 php_value memory_limit 256M