[config-reference]Update the configuration of dashboard
When installing the OpenStack Liberty in CentOS 7.1,the OS uses httpd 2.4.x, and the configuration of dashboard is still pointting to httpd 2.2. This patch is to fix it. Change-Id: Ie958d15e00e6ede3c93c949018d9c7425e81be6b Partial-Bug: #1548203
This commit is contained in:
parent
c2f725e213
commit
88e70aca52
|
@ -239,11 +239,26 @@ Use a domain that fits your current setup.
|
|||
Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
|
||||
<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
|
||||
# For Apache http server 2.2 and earlier:
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
|
||||
<ifVersion <2.4>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</ifVersion>
|
||||
# For Apache http server 2.4 and later:
|
||||
# Require all granted
|
||||
<ifVersion >=2.4>
|
||||
#The following two lines have been added by bms for error "AH01630: client denied
|
||||
#by server configuration:
|
||||
#/usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/cssa"
|
||||
Options All
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</ifVersion>
|
||||
</Directory>
|
||||
<Directory /usr/share/openstack-dashboard/static>
|
||||
<ifVersion >=2.4>
|
||||
Options All
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</ifVersion>
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
||||
|
|
Loading…
Reference in New Issue