<VirtualHost *:80>
|
ServerName ${HTTP_HOST}
|
ServerAdmin ${HTTP_WEBMASTER}
|
|
DocumentRoot "${CASEBOX_PREFIX}/casebox/httpsdocs"
|
DirectoryIndex index.php
|
|
# HTTP Security Headers
|
Header add X-Content-Type-Options no-sniff
|
Header add X-Download-Options noopen
|
# Header add X-Frame-Options deny
|
Header add X-XSS-Protection "1; mode=block"
|
|
<Directory "${CASEBOX_PREFIX}/casebox/httpsdocs">
|
Options -Includes -ExecCGI
|
AllowOverride All
|
|
<IfModule mod_php5.c>
|
php_admin_flag engine on
|
|
php_admin_value max_execution_time 300
|
php_admin_value short_open_tag off
|
|
php_admin_value upload_max_filesize 200M
|
php_admin_value post_max_size 200M
|
php_admin_value max_file_uploads 20
|
php_admin_value memory_limit 200M
|
|
php_admin_value expose_php Off
|
</IfModule>
|
</Directory>
|
</VirtualHost>
|