devstack/files/apache-horizon.template
Gabriel Hurley 8b3f438ab8 Execute Horizon bin script with correct group.
Fixes bug 1014735.

Change-Id: I21217fd722ca85124818c1347680734ccd152eb8
2012-06-20 13:16:35 -07:00

31 lines
889 B
Plaintext

<VirtualHost *:80>
WSGIScriptAlias / %HORIZON_DIR%/openstack_dashboard/wsgi/django.wsgi
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 home=%HORIZON_DIR%
WSGIApplicationGroup %{GLOBAL}
SetEnv APACHE_RUN_USER %USER%
SetEnv APACHE_RUN_GROUP %GROUP%
WSGIProcessGroup horizon
DocumentRoot %HORIZON_DIR%/.blackhole/
Alias /media %HORIZON_DIR%/openstack_dashboard/static
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory %HORIZON_DIR%/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/%APACHE_NAME%/horizon_error.log
LogLevel warn
CustomLog /var/log/%APACHE_NAME%/horizon_access.log combined
</VirtualHost>
WSGISocketPrefix /var/run/%APACHE_NAME%