| 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 | 
| Jesse Andrews | 8f3e28c | 2011-09-27 18:26:27 -0700 | [diff] [blame] | 3 | WSGIDaemonProcess dashboard user=%USER% group=%USER% processes=3 threads=10 | 
|  | 4 | SetEnv APACHE_RUN_USER %USER% | 
|  | 5 | SetEnv APACHE_RUN_GROUP %USER% | 
| 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 |  |