8b564a8f |
<VirtualHost *:80> |
7b105c57 |
WSGIScriptAlias %WEBROOT% %HORIZON_DIR%/openstack_dashboard/wsgi/django.wsgi |
2c95fcd6 |
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 home=%HORIZON_DIR% display-name=%{GROUP} |
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/ |
7b105c57 |
Alias %WEBROOT%/media %HORIZON_DIR%/openstack_dashboard/static
Alias %WEBROOT%/static %HORIZON_DIR%/static
RedirectMatch "^/$" "%WEBROOT%/" |
8b564a8f |
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
|
ca85b799 |
<Directory %HORIZON_DIR%/> |
8b564a8f |
Options Indexes FollowSymLinks MultiViews
AllowOverride None |
b4495eb4 |
# Apache 2.4 uses mod_authz_host for access control now (instead of
# "Allow")
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion> |
8b564a8f |
</Directory> |
e7b51362 |
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion> |
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% |