Jesse Andrews | 8b564a8 | 2011-09-11 17:53:34 -0700 | [diff] [blame] | 1 | <VirtualHost *:80> |
| 2 | WSGIScriptAlias / %DASH_DIR%/openstack-dashboard/dashboard/wsgi/django.wsgi |
Anthony Young | 124b0c2 | 2011-09-26 23:42:46 -0700 | [diff] [blame] | 3 | WSGIDaemonProcess dashboard user=stack group=stack processes=3 threads=10 |
| 4 | SetEnv APACHE_RUN_USER stack |
| 5 | SetEnv APACHE_RUN_GROUP stack |
Jesse Andrews | 8b564a8 | 2011-09-11 17:53:34 -0700 | [diff] [blame] | 6 | WSGIProcessGroup dashboard |
| 7 | |
| 8 | DocumentRoot %DASH_DIR%/.blackhole/ |
| 9 | Alias /media %DASH_DIR%/openstack-dashboard/media |
| 10 | |
| 11 | <Directory /> |
| 12 | Options FollowSymLinks |
| 13 | AllowOverride None |
| 14 | </Directory> |
| 15 | |
| 16 | <Directory %DASH_DIR%/> |
| 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 | |