blob: 1d7380d95a9115c9231ba0eafe780985ad073147 [file] [log] [blame]
Jesse Andrews8b564a82011-09-11 17:53:34 -07001<VirtualHost *:80>
Tres Henryca85b792011-10-28 14:00:21 -07002 WSGIScriptAlias / %HORIZON_DIR%/openstack-dashboard/dashboard/wsgi/django.wsgi
3 WSGIDaemonProcess horizon user=%USER% group=%USER% processes=3 threads=10
Jesse Andrews8f3e28c2011-09-27 18:26:27 -07004 SetEnv APACHE_RUN_USER %USER%
5 SetEnv APACHE_RUN_GROUP %USER%
Tres Henryca85b792011-10-28 14:00:21 -07006 WSGIProcessGroup horizon
Jesse Andrews8b564a82011-09-11 17:53:34 -07007
Tres Henryca85b792011-10-28 14:00:21 -07008 DocumentRoot %HORIZON_DIR%/.blackhole/
Jesse Andrews9c7c9082011-11-23 10:10:53 -08009 Alias /media %HORIZON_DIR%/openstack-dashboard/dashboard/static
Dean Troyer45cb7d12011-11-15 10:55:36 -060010 Alias /vpn /opt/stack/vpn
Jesse Andrews8b564a82011-09-11 17:53:34 -070011
12 <Directory />
13 Options FollowSymLinks
14 AllowOverride None
15 </Directory>
16
Tres Henryca85b792011-10-28 14:00:21 -070017 <Directory %HORIZON_DIR%/>
Jesse Andrews8b564a82011-09-11 17:53:34 -070018 Options Indexes FollowSymLinks MultiViews
19 AllowOverride None
20 Order allow,deny
21 allow from all
22 </Directory>
23
24 ErrorLog /var/log/apache2/error.log
25 LogLevel warn
26 CustomLog /var/log/apache2/access.log combined
27</VirtualHost>
28