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 |
| 3 | WSGIDaemonProcess horizon user=%USER% group=%USER% processes=3 threads=10 |
Jesse Andrews | 8f3e28c | 2011-09-27 18:26:27 -0700 | [diff] [blame] | 4 | SetEnv APACHE_RUN_USER %USER% |
| 5 | SetEnv APACHE_RUN_GROUP %USER% |
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/ |
| 9 | Alias /media %HORIZON_DIR%/openstack-dashboard/media |
Jesse Andrews | 8b564a8 | 2011-09-11 17:53:34 -0700 | [diff] [blame] | 10 | |
| 11 | <Directory /> |
| 12 | Options FollowSymLinks |
| 13 | AllowOverride None |
| 14 | </Directory> |
| 15 | |
Tres Henry | ca85b79 | 2011-10-28 14:00:21 -0700 | [diff] [blame^] | 16 | <Directory %HORIZON_DIR%/> |
Jesse Andrews | 8b564a8 | 2011-09-11 17:53:34 -0700 | [diff] [blame] | 17 | Options Indexes FollowSymLinks MultiViews |
| 18 | AllowOverride None |
| 19 | Order allow,deny |
| 20 | allow from all |
| 21 | </Directory> |
| 22 | |
| 23 | ErrorLog /var/log/apache2/error.log |
| 24 | LogLevel warn |
| 25 | CustomLog /var/log/apache2/access.log combined |
| 26 | </VirtualHost> |
| 27 | |