1 |
Alias /dl /usr/share/dl |
2 |
|
3 |
<Directory /usr/share/dl> |
4 |
Options None |
5 |
AllowOverride Limit |
6 |
AddType application/x-httpd-php .php |
7 |
php_admin_value open_basedir /usr/share/dl:/var/lib/dl:/etc/dl.php:/var/log/dl.log |
8 |
php_admin_flag file_uploads On |
9 |
php_admin_flag magic_quotes Off |
10 |
php_admin_flag magic_quotes_gpc Off |
11 |
php_admin_value upload_max_filesize 1024M |
12 |
php_admin_value post_max_size 1025M |
13 |
php_admin_value memory_limit 100M |
14 |
php_admin_flag output_buffering Off |
15 |
php_admin_value max_execution_time 0 |
16 |
php_admin_value upload_tmp_dir /var/lib/dl/tmp |
17 |
php_admin_value session.save_path /var/lib/dl/tmp |
18 |
php_admin_value session.gc_maxlifetime 86400 |
19 |
order deny,allow |
20 |
deny from all |
21 |
allow from 127.0.0.1 |
22 |
</Directory> |