files/apache-horizon.template
8b564a8f
 <VirtualHost *:80>
f1a11adf
     WSGIScriptAlias / %HORIZON_DIR%/openstack_dashboard/wsgi/django.wsgi
5218d451
     WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 home=%HORIZON_DIR%
8b3f438a
     WSGIApplicationGroup %{GLOBAL}
5218d451
 
8f3e28ce
     SetEnv APACHE_RUN_USER %USER%
9bb84f0a
     SetEnv APACHE_RUN_GROUP %GROUP%
ca85b799
     WSGIProcessGroup horizon
8b564a8f
 
ca85b799
     DocumentRoot %HORIZON_DIR%/.blackhole/
f1a11adf
     Alias /media %HORIZON_DIR%/openstack_dashboard/static
8b564a8f
 
     <Directory />
         Options FollowSymLinks
         AllowOverride None
     </Directory>
 
ca85b799
     <Directory %HORIZON_DIR%/>
8b564a8f
         Options Indexes FollowSymLinks MultiViews
         AllowOverride None
         Order allow,deny
         allow from all
     </Directory>
 
5218d451
     ErrorLog /var/log/%APACHE_NAME%/horizon_error.log
8b564a8f
     LogLevel warn
5218d451
     CustomLog /var/log/%APACHE_NAME%/horizon_access.log combined
8b564a8f
 </VirtualHost>
 
5218d451
 WSGISocketPrefix /var/run/%APACHE_NAME%