commit | author | age
|
0cf5a6
|
1 |
<VirtualHost *:80> |
JK |
2 |
ServerName ${HTTP_HOST} |
|
3 |
ServerAdmin ${HTTP_WEBMASTER} |
|
4 |
|
|
5 |
DocumentRoot "${CASEBOX_PREFIX}/casebox/httpsdocs" |
|
6 |
DirectoryIndex index.php |
|
7 |
|
|
8 |
# HTTP Security Headers |
|
9 |
Header add X-Content-Type-Options no-sniff |
|
10 |
Header add X-Download-Options noopen |
|
11 |
# Header add X-Frame-Options deny |
|
12 |
Header add X-XSS-Protection "1; mode=block" |
|
13 |
|
|
14 |
<Directory "${CASEBOX_PREFIX}/casebox/httpsdocs"> |
|
15 |
Options -Includes -ExecCGI |
|
16 |
AllowOverride All |
|
17 |
|
|
18 |
<IfModule mod_php5.c> |
|
19 |
php_admin_flag engine on |
|
20 |
|
|
21 |
php_admin_value max_execution_time 300 |
|
22 |
php_admin_value short_open_tag off |
|
23 |
|
|
24 |
php_admin_value upload_max_filesize 200M |
|
25 |
php_admin_value post_max_size 200M |
|
26 |
php_admin_value max_file_uploads 20 |
|
27 |
php_admin_value memory_limit 200M |
|
28 |
|
|
29 |
php_admin_value expose_php Off |
|
30 |
</IfModule> |
|
31 |
</Directory> |
|
32 |
</VirtualHost> |