627d9c77e5
Fixes bug: 1167066 Summary: 1. Starting with fedora 18 the httpd.conf has <Directory /> AllowOverride none Require all denied </Directory> which requires you to explicitly permit access to web content directories in other <Directory> blocks 2. Install nodejs on fedora 18 and above Change-Id: I487a7a74bad6627d32c1081dcbe48630a704a106
32 lines
915 B
Plaintext
32 lines
915 B
Plaintext
<VirtualHost *:80>
|
|
WSGIScriptAlias / %HORIZON_DIR%/openstack_dashboard/wsgi/django.wsgi
|
|
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 home=%HORIZON_DIR%
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
|
|
SetEnv APACHE_RUN_USER %USER%
|
|
SetEnv APACHE_RUN_GROUP %GROUP%
|
|
WSGIProcessGroup horizon
|
|
|
|
DocumentRoot %HORIZON_DIR%/.blackhole/
|
|
Alias /media %HORIZON_DIR%/openstack_dashboard/static
|
|
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
|
|
<Directory %HORIZON_DIR%/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
%HORIZON_REQUIRE%
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/%APACHE_NAME%/horizon_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/%APACHE_NAME%/horizon_access.log combined
|
|
</VirtualHost>
|
|
|
|
WSGISocketPrefix /var/run/%APACHE_NAME%
|