2011-09-12 00:53:34 +00:00
|
|
|
<VirtualHost *:80>
|
2011-10-28 21:00:21 +00:00
|
|
|
WSGIScriptAlias / %HORIZON_DIR%/openstack-dashboard/dashboard/wsgi/django.wsgi
|
|
|
|
WSGIDaemonProcess horizon user=%USER% group=%USER% processes=3 threads=10
|
2011-09-28 01:26:27 +00:00
|
|
|
SetEnv APACHE_RUN_USER %USER%
|
|
|
|
SetEnv APACHE_RUN_GROUP %USER%
|
2011-10-28 21:00:21 +00:00
|
|
|
WSGIProcessGroup horizon
|
2011-09-12 00:53:34 +00:00
|
|
|
|
2011-10-28 21:00:21 +00:00
|
|
|
DocumentRoot %HORIZON_DIR%/.blackhole/
|
2011-11-23 18:10:53 +00:00
|
|
|
Alias /media %HORIZON_DIR%/openstack-dashboard/dashboard/static
|
2011-11-15 16:55:36 +00:00
|
|
|
Alias /vpn /opt/stack/vpn
|
2011-09-12 00:53:34 +00:00
|
|
|
|
|
|
|
<Directory />
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride None
|
|
|
|
</Directory>
|
|
|
|
|
2011-10-28 21:00:21 +00:00
|
|
|
<Directory %HORIZON_DIR%/>
|
2011-09-12 00:53:34 +00:00
|
|
|
Options Indexes FollowSymLinks MultiViews
|
|
|
|
AllowOverride None
|
|
|
|
Order allow,deny
|
|
|
|
allow from all
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
ErrorLog /var/log/apache2/error.log
|
|
|
|
LogLevel warn
|
|
|
|
CustomLog /var/log/apache2/access.log combined
|
|
|
|
</VirtualHost>
|
|
|
|
|