1 # DO NOT EDIT - This file is being maintained by Chef
3 WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4 threads=4
6 ServerName <%= @name %>
7 ServerAdmin webmaster@openstreetmap.org
9 CustomLog /var/log/apache2/<%= @name %>-access.log combined
10 ErrorLog /var/log/apache2/<%= @name %>-error.log
12 RedirectPermanent / https://<%= @name %>/
16 ServerName <%= @name %>
17 ServerAdmin webmaster@openstreetmap.org
21 CustomLog /var/log/apache2/<%= @name %>-access.log combined
22 ErrorLog /var/log/apache2/<%= @name %>-error.log
24 DocumentRoot <%= @directory %>
25 Alias /m/ <%= @directory %>/forum/skins/
26 Alias /upfiles/ <%= @directory %>/forum/upfiles/
27 Alias /admin_media/ /usr/share/pyshared/django/contrib/admin/media/
28 WSGIScriptAlias / <%= @directory %>/osqa.wsgi
30 WSGIProcessGroup <%= @name %>