ServerName www.example.com
ServerAlias example.com
DocumentRoot "/var/www/example.com/www/public"
php_admin_value open_basedir /var/www/example.com/www/:/usr/share/php/
php_admin_value upload_tmp_dir /tmp
php_admin_value session.save_path /var/www/example.com/www/tmp
LogLevel warn
ErrorLog /var/log/apache2/example.com/www/error.log
CustomLog /var/log/apache2/example.com/www/access.log combined
Options IncludesNoExec
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex default.shtml
Include /etc/apache2/vhosts.d/include/php.conf
DirectoryIndex default.php index.php
ServerName secure.example.com
DocumentRoot "/var/www/example.com/www/secure"
php_admin_value open_basedir /var/www/example.com/www/:/usr/share/php/
php_admin_value upload_tmp_dir /tmp
php_admin_value session.save_path /var/www/example.com/www/tmp
LogLevel warn
ErrorLog /var/log/apache2/example.com/www/error.log
CustomLog /var/log/apache2/example.com/www/access.log combined
Options IncludesNoExec
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex default.shtml
Include /etc/apache2/vhosts.d/include/php.conf
DirectoryIndex default.php index.php