ServerAdmin "admin@{{ ansible_hostname }}"
DocumentRoot "{{ document_root }}/{{ package }}"
ServerName "{{ ansible_hostname }}"
ServerAlias "{{ ansible_hostname }}"
Options FollowSymlinks
AllowOverride All
Require all granted
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]