2011-09-11 17:53:34 -07:00
|
|
|
<VirtualHost *:80>
|
2012-02-29 01:36:53 -08:00
|
|
|
WSGIScriptAlias / %HORIZON_DIR%/openstack_dashboard/wsgi/django.wsgi
|
2012-02-04 02:13:23 -06:00
|
|
|
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 home=%HORIZON_DIR%
|
2012-06-20 13:14:38 -07:00
|
|
|
WSGIApplicationGroup %{GLOBAL}
|
2012-02-04 02:13:23 -06:00
|
|
|
|
2011-09-27 18:26:27 -07:00
|
|
|
SetEnv APACHE_RUN_USER %USER%
|
2012-01-24 11:45:52 -06:00
|
|
|
SetEnv APACHE_RUN_GROUP %GROUP%
|
2011-10-28 14:00:21 -07:00
|
|
|
WSGIProcessGroup horizon
|
2011-09-11 17:53:34 -07:00
|
|
|
|
2011-10-28 14:00:21 -07:00
|
|
|
DocumentRoot %HORIZON_DIR%/.blackhole/
|
2012-02-29 01:36:53 -08:00
|
|
|
Alias /media %HORIZON_DIR%/openstack_dashboard/static
|
2011-09-11 17:53:34 -07:00
|
|
|
|
|
|
|
<Directory />
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride None
|
|
|
|
</Directory>
|
|
|
|
|
2011-10-28 14:00:21 -07:00
|
|
|
<Directory %HORIZON_DIR%/>
|
2011-09-11 17:53:34 -07:00
|
|
|
Options Indexes FollowSymLinks MultiViews
|
2013-04-10 14:11:44 +10:00
|
|
|
%HORIZON_REQUIRE%
|
2011-09-11 17:53:34 -07:00
|
|
|
AllowOverride None
|
|
|
|
Order allow,deny
|
|
|
|
allow from all
|
|
|
|
</Directory>
|
|
|
|
|
2012-02-04 02:13:23 -06:00
|
|
|
ErrorLog /var/log/%APACHE_NAME%/horizon_error.log
|
2011-09-11 17:53:34 -07:00
|
|
|
LogLevel warn
|
2012-02-04 02:13:23 -06:00
|
|
|
CustomLog /var/log/%APACHE_NAME%/horizon_access.log combined
|
2011-09-11 17:53:34 -07:00
|
|
|
</VirtualHost>
|
|
|
|
|
2012-02-04 02:13:23 -06:00
|
|
|
WSGISocketPrefix /var/run/%APACHE_NAME%
|