Files
2026-06-03 01:28:23 -04:00

15 lines
371 B
ApacheConf

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