WSGIDaemonProcess execdb user=apache group=apache threads=5
WSGIScriptAlias /{{ execdb_endpoint }} /usr/share/execdb/execdb.wsgi
WSGISocketPrefix run/wsgi
# this isn't the best way to force SSL but it works for now
#RewriteEngine On
#RewriteCond %{HTTPS} !=on
#RewriteRule ^/execdb/admin/?(.*) https://%{SERVER_NAME}/$1 [R,L]
WSGIProcessGroup execdb
WSGIApplicationGroup %{GLOBAL}
WSGIScriptReloading On
# Apache 2.4
Require method GET
Require ip 127.0.0.1 ::1{% for host in allowed_hosts %} {{ host }}{% endfor %}
Order allow,deny
Allow from all
#Alias /execdb/static /var/www/execdb/execdb/static
#
#Order allow,deny
#Allow from all
#