Giter Club home page Giter Club logo

providencedocs's People

Contributors

alexandradm avatar charlotteposever avatar collectiveaccess avatar mariamotorina avatar martimpassos avatar miceno avatar mwbenowitz avatar raboof avatar tpokorra avatar vatoz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

providencedocs's Issues

Translating the docs

Are the docs available for translation somewhere? I'd like to work on a Brazilian Portuguese version so my colleagues can use it as reference. Thanks!

Documenting preferred way of running CA and configuration related question.

From Apache 2.4 the Apache project strongly recommends PHP-FPM saying "Using mod_php as a DSO (legacy) [...] This method is the oldest and slowest possible configuration. It was suitable for version 2.2 and older, and requires the use of the prefork mpm." (https://cwiki.apache.org/confluence/display/httpd/PHP).

They instead provide documentation on setting up using PHP_FPM plus mod_proxy_fcgi (https://cwiki.apache.org/confluence/display/httpd/PHP-FPM).

The problem is .htaccess files are not accessed by php-fpm and so the restrictions CA assumes are in place, are not (this problem was already present for anyone trying to use Nginx, and is not the same issue as was raised in collectiveaccess/providence#1361 ).

My questions / discussion points are:

  • Should CA document a preferred standard (php-fpm vs mod_php)
  • If mod_php is considered the future, should example web server configuration be included in the documentation or the providence codebase?

As a reference point, this is part of our nginx configuration which tries to replicate the denys from CA htaccess files.


        location ~ /setup.php {
                deny all;
        }

        location ~ /media/ {
                allow all;
        }

        location ~ /(uploads|import|media)/(.*/)?.*\.php {
                deny all;
        }

        location ~ /(tests|uploads|import|support|install|import_logs)/ {
                deny all;
        }

        location ~ /app/(models|log|conf|helpers|controllers|refineries|tmp|service|lib)/ {
                deny all;
        }

As an aside I previously noted (in a CA chat) that pawtucket and providence have different restrictions imposed by their htaccess files; sometimes overlapping. a PHP-fpm configuration might help clean that up too.

Documenting caUtils

Are there additional details that can be added to this page about caUtiils and its filters beyond what is available in the terminal help?

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.