15 lines
371 B
ApacheConf
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>
|