Jesse Andrews | 8b564a8 | 2011-09-11 17:53:34 -0700 | [diff] [blame] | 1 | <VirtualHost *:80> |
Tres Henry | ca85b79 | 2011-10-28 14:00:21 -0700 | [diff] [blame] | 2 | WSGIScriptAlias / %HORIZON_DIR%/openstack-dashboard/dashboard/wsgi/django.wsgi |
Dean Troyer | 9bb84f0 | 2012-01-24 11:45:52 -0600 | [diff] [blame] | 3 | WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 |
Jesse Andrews | 8f3e28c | 2011-09-27 18:26:27 -0700 | [diff] [blame] | 4 | SetEnv APACHE_RUN_USER %USER% |
Dean Troyer | 9bb84f0 | 2012-01-24 11:45:52 -0600 | [diff] [blame] | 5 | SetEnv APACHE_RUN_GROUP %GROUP% |
Tres Henry | ca85b79 | 2011-10-28 14:00:21 -0700 | [diff] [blame] | 6 | WSGIProcessGroup horizon |
Jesse Andrews | 8b564a8 | 2011-09-11 17:53:34 -0700 | [diff] [blame] | 7 | |
Tres Henry | ca85b79 | 2011-10-28 14:00:21 -0700 | [diff] [blame] | 8 | DocumentRoot %HORIZON_DIR%/.blackhole/ |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 9 | Alias /media %HORIZON_DIR%/openstack-dashboard/dashboard/static |
Dean Troyer | 45cb7d1 | 2011-11-15 10:55:36 -0600 | [diff] [blame] | 10 | Alias /vpn /opt/stack/vpn |
Jesse Andrews | 8b564a8 | 2011-09-11 17:53:34 -0700 | [diff] [blame] | 11 | |
| 12 | <Directory /> |
| 13 | Options FollowSymLinks |
| 14 | AllowOverride None |
| 15 | </Directory> |
| 16 | |
Tres Henry | ca85b79 | 2011-10-28 14:00:21 -0700 | [diff] [blame] | 17 | <Directory %HORIZON_DIR%/> |
Jesse Andrews | 8b564a8 | 2011-09-11 17:53:34 -0700 | [diff] [blame] | 18 | 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 | |