For running in Plack-mode, people needs to:

sudo koha-plack --enable <instance>
sudo koha-plack --start <instance>
sudo systemctl restart apache2

after creating the <instance>.

What I meant is that we should have people avoid the need for those commands. And people with specific needs that require non-Plack setups can do it.

I started thinking of this in the context of bug 20134 [1] BUT also in the context of bugs 18315 [2] and 7174 [3].

Both of the latter bugs propose interesting ways of refactoring authentication, and I'm sure abandoning CGI-mode could help simplify the process.

[1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20134
[2] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18315
[3] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7174

El mar., 6 feb. 2018 a las 11:00, Julian Maurice (<julian.maurice@biblibre.com>) escribió:
What does that mean to "make Plack the default" exactly ?

Le 06/02/2018 à 14:31, Tomas Cohen Arazi a écrit :
> I would like to know if you think there's any reason to keep the CGI
> mode as default in Koha deployments. I think we should make Plack the
> default. There are some issues, tough.
>
> But if we set that goal, we could focus on fixing them.
>
> What do you think?
> --
> Tomás Cohen Arazi
> Theke Solutions (https://theke.io <http://theke.io/>)
> ✆ +54 9351 3513384
> GPG: B2F3C15F
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>

--
Julian Maurice <julian.maurice@biblibre.com>
BibLibre
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
--
Tomás Cohen Arazi
Theke Solutions (https://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F