Remove option for apache < 2.4
apache 2.4 was released long time ago and is now available in recent operating systems. Change-Id: I37bb1736c6be49106ad1a1471930c420fd7bb5af Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -337,13 +337,7 @@ Use a domain that fits your current setup.
|
||||
WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10
|
||||
Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
|
||||
<Location />
|
||||
<ifVersion >=2.4>
|
||||
Require all granted
|
||||
</ifVersion>
|
||||
<ifVersion <2.4>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</ifVersion>
|
||||
Require all granted
|
||||
</Location>
|
||||
|
||||
**Example After**
|
||||
@@ -385,15 +379,7 @@ Use a domain that fits your current setup.
|
||||
<Location />
|
||||
Options None
|
||||
AllowOverride None
|
||||
# For Apache http server 2.4 and later:
|
||||
<ifVersion >=2.4>
|
||||
Require all granted
|
||||
</ifVersion>
|
||||
# For Apache http server 2.2 and earlier:
|
||||
<ifVersion <2.4>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</ifVersion>
|
||||
Require all granted
|
||||
</Location>
|
||||
</VirtualHost>
|
||||
|
||||
|
Reference in New Issue
Block a user