Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache 2.4 Compatibility #137

Closed
steveames opened this issue Jun 10, 2016 · 2 comments
Closed

Apache 2.4 Compatibility #137

steveames opened this issue Jun 10, 2016 · 2 comments

Comments

@steveames
Copy link

steveames commented Jun 10, 2016

The templates file (/templates/apache/conf.erb) uses the pre-2.4 syntax. This is a very easy fix to just change the template file to:

WSGIDaemonProcess puppetboard user=<%= @user -%> group=<%= @user -%> threads=<%= @threads %> maximum-requests=<%= @max_reqs %>
WSGIScriptAlias <%= @wsgi_alias -%> <%= @docroot -%>/wsgi.py

 <Directory <%= @docroot -%>>
    WSGIProcessGroup puppetboard
    WSGIApplicationGroup %{GLOBAL}
      <IfVersion < 2.4>
        Order allow,deny
        Allow from all
      </IfVersion>
      <IfVersion >= 2.4>
        Require all granted
      </IfVersion>
 </Directory>

Submitting a pull request to that effect.

@wyardley
Copy link
Contributor

#136

@kenyon
Copy link
Member

kenyon commented Nov 4, 2021

Done in #189.

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

No branches or pull requests

3 participants