Project

General

Profile

Bug #6321 » ncf-api-virtualenv.diff

Dennis Cabooter, 2015-03-02 17:30

View differences:

ncf-api-virtualenv.conf 2015-03-02 17:14:10.581448452 +0100
## Set directory access permissions
<Directory /usr/share/ncf/builder>
# Allow access from anybody
Order deny,allow
Allow from all
<IfVersion < 2.4>
Order deny,allow
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
<Directory /usr/share/ncf/api>
# Allow access from anybody
Order deny,allow
Allow from all
<IfVersion < 2.4>
Order deny,allow
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
<Directory /usr/share/ncf-api-virtualenv>
# WSGI parameters
WSGIProcessGroup ncf_api_flask_app
WSGIApplicationGroup %{GLOBAL}
# Allow access from anybody
Order deny,allow
Allow from all
<IfVersion < 2.4>
Order deny,allow
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
(1-1/2)