Project

General

Profile

« Previous | Next » 

Revision 3144d145

Added by Alexis Mousset about 7 years ago

Fixes #10455: Relay-Api does not handle different Apache versions

View differences:

rudder-server-relay/SOURCES/rudder-apache-relay-common.conf
<Directory /opt/rudder/share/relay-api/relay_api>
# Allow access from anybody
Allow from all
<IfVersion < 2.4>
Order deny,allow
Allow From all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
<Files /opt/rudder/share/relay-api/relay-api.wsgi>
# Allow access from anybody
Allow from all
<IfVersion < 2.4>
Order deny,allow
Allow From all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Files>
<Directory /opt/rudder/share/relay-api/flask>
# Allow access from anybody
Allow from all
<IfVersion < 2.4>
Order deny,allow
Allow From all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
# Disallow by default

Also available in: Unified diff