<VirtualHost *:80>
	ServerName  <%=primary_app_domain_name%>
  <% apache_vhost_aliases.each do |a| %>
    ServerAlias <%= "#{a}" %>
  <% end %>
  DocumentRoot <%= "#{current_path}/public" %>	
	UseCanonicalName Off
  <Directory "<%= "#{current_path}" %>/public/">
     Options Indexes MultiViews SymLinksIfOwnerMatch
     AllowOverride All Options FileInfo
     Order allow,deny
     Allow from all
  </Directory>
</VirtualHost>
<VirtualHost *:80>
	ServerName  <%=primary_app_domain_name%>
  <% apache_vhost_aliases.each do |a| %>
    ServerAlias <%= "#{a}" %>
  <% end %>
  DocumentRoot <%= "#{current_path}/public" %>	
	UseCanonicalName Off
  <Directory "<%= "#{current_path}" %>/public/">
     Options Indexes MultiViews SymLinksIfOwnerMatch
     AllowOverride All Options FileInfo
     Require all granted
  </Directory>
</VirtualHost>
Update vhost syntax for Apache 2.4
Update vhost syntax for Apache 2.4
