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
|
WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10
|
||||||
Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
|
Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
|
||||||
<Location />
|
<Location />
|
||||||
<ifVersion >=2.4>
|
Require all granted
|
||||||
Require all granted
|
|
||||||
</ifVersion>
|
|
||||||
<ifVersion <2.4>
|
|
||||||
Order allow,deny
|
|
||||||
Allow from all
|
|
||||||
</ifVersion>
|
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
**Example After**
|
**Example After**
|
||||||
@@ -385,15 +379,7 @@ Use a domain that fits your current setup.
|
|||||||
<Location />
|
<Location />
|
||||||
Options None
|
Options None
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
# For Apache http server 2.4 and later:
|
Require all granted
|
||||||
<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>
|
|
||||||
</Location>
|
</Location>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user