Giter Site home page Giter Site logo

Comments (4)

scuerda avatar scuerda commented on June 23, 2024 1

Not sure if you've solved this, but I came up on the exact problem while writing a similar playbook for deploying ckan.

For me, the solution was (so far) changing the following lines in my .conf file

<Directory {{ ckan_settings_path }}>
        Order allow,deny
        Allow from all
        Require all granted
</Directory>

to

<Directory {{ ckan_settings_path }}>
        Order allow,deny
        Allow from all
        Require all granted
        Satisfy Any
</Directory>

The addition of Satisfy Any seems to be the key.

from ansible-ckan.

oguya avatar oguya commented on June 23, 2024

Basically the config file 000-ckan-default.conf.j2 works on Apache 2.4 & above.

@scuerda
By default, Apache 2.2 uses Satisfy All[1] which ensures all specified criteria must be satisfied before a user is allowed in. On the hand using Satisfy Any works but it's less secure.

  1. https://httpd.apache.org/docs/2.2/howto/auth.html#satisfy

from ansible-ckan.

oguya avatar oguya commented on June 23, 2024

This is issue occurs on only Apache 2.2 & below which is available on Ubuntu 12.04. I don't see why I should create a fix for this, yet Ubuntu 12.04 is almost approaching its EOL & most people use Ubuntu 14.04 anyways ¯_(ツ)_/¯

from ansible-ckan.

scuerda avatar scuerda commented on June 23, 2024

Works for me!

from ansible-ckan.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.