Problem with vhost configuration in apache 2.4

Recently migrated from apache 2.2 to 2.4. I am having a problem configuring vhost for a domain. The problem is it is unable to fetch static content from web-vhost for the website. I am aware that there are changes in this configuration in the new version.

Here is the configuration in old version 2.2

<Directory "/app/web-vhosts/backtoschoolimmunization">
#       Options +Includes
   IndexOrderDefault Descending Date
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

Here is the new configuration I tried for 2.4 but failed

<Directory "/app/web-vhosts/backtoschoolimmunization">
#       Options +Includes
   IndexOrderDefault Descending Date
   AllowOverride None
   Require all granted
</Directory>
728x90

0 Answers Problem with vhost configuration in apache 2.4