{%- set site = salt['pillar.get']('apache:server:site:'+site_name) %}
<VirtualHost *:80>

  {%- include "apache/files/_name.conf" %}
  {%- include "apache/files/_log.conf" %}
  {%- include "apache/files/_ssl.conf" %}

  ServerAdmin webmaster@htfs.info
  DocumentRoot /srv/wordpress/sites/{{ site.name }}/root

  RewriteEngine On
  RewriteOptions inherit

  <Directory /srv/wordpress/sites/{{ site.name }}/root>
    Options -Indexes +FollowSymLinks
    AllowOverride None
    Order allow,deny
    allow from all
    Require all granted
  </Directory>

</VirtualHost>