Skip to content

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

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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