Skip to content

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

@kursusHC

Description

@kursusHC

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions