{% set venv_path = '/var/lib/microservices/venv/lib/python2.7/site-packages' %} WSGIScriptAlias / {{ venv_path }}/openstack_dashboard/wsgi/django.wsgi WSGIScriptAlias /horizon {{ venv_path }}/openstack_dashboard/wsgi/django.wsgi WSGIDaemonProcess horizon user=horizon group=horizon processes={{ horizon.wsgi.processes }} threads={{ horizon.wsgi.threads }} python-path={{ venv_path }} WSGIProcessGroup horizon Alias /static {{ venv_path }}/static Order allow,deny Allow from all Require all granted Order allow,deny Allow from all Require all granted ErrorLogFormat "%{cu}t %-m:%-l %P:%T %M" LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" access ErrorLog "/var/log/ccp/horizon/horizon-error.log" CustomLog "/var/log/ccp/horizon/horizon-access.log" access