Vagrant-LAMP-Stack icon indicating copy to clipboard operation
Vagrant-LAMP-Stack copied to clipboard

403 Forbidden - Missing "Require all granted" in virtualhost for Apache > 2.4

Open kursusHC opened this issue 8 years ago • 0 comments

Hi,

Thank you for sharing it helped me a lot. I'm testing the project on a Ubuntu 14.04 and the web_app.conf.erb misses a "Require all granted", else the vhost displays a 403 Forbidden.

  <Directory <%= @params[:docroot] %>>
    EnableSendfile Off
    Options FollowSymLinks
    AllowOverride <%= [@params[:allow_override] || "All" ].flatten.join " " %>
    Require all granted
    Order allow,deny
    Allow from all
  </Directory>

kursusHC avatar Nov 12 '16 17:11 kursusHC