9bb84f0a70
* Fixes bug 915064 * APACHE_USER defaults to $USER * APACHE_GROUP defaults to $APACHE_USER Change-Id: I06cf39cfd884d8f858ab98b84b3f40c3f6ff3a40
29 lines
816 B
Plaintext
29 lines
816 B
Plaintext
<VirtualHost *:80>
|
|
WSGIScriptAlias / %HORIZON_DIR%/openstack-dashboard/dashboard/wsgi/django.wsgi
|
|
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10
|
|
SetEnv APACHE_RUN_USER %USER%
|
|
SetEnv APACHE_RUN_GROUP %GROUP%
|
|
WSGIProcessGroup horizon
|
|
|
|
DocumentRoot %HORIZON_DIR%/.blackhole/
|
|
Alias /media %HORIZON_DIR%/openstack-dashboard/dashboard/static
|
|
Alias /vpn /opt/stack/vpn
|
|
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
|
|
<Directory %HORIZON_DIR%/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/access.log combined
|
|
</VirtualHost>
|
|
|