A regular source install generates a suitable setup for apache2, with the rewrite rules needed for the api.

My suggestion is that you perform what most people do to get Koha up and running, and compare the Apache configuration with yours, which I'm not familiar with. I am by no means suggesting you change how you do things, but a way to easily have a working setup to steal ideas from, in case you want to debug the problem you found.

I know my joke was not good, but you started when you asked what a normal setup is, because you knew the answer already :-P

/me should sleep now. Cheers

El dom., 1 de jul. de 2018 11:47 p. m., David Cook <dcook@prosentient.com.au> escribió:

I don’t think that there’s any reason to be rude, Tomas.

 

Plack isn’t always practical. That’s why there are open bugs like https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15562 and https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20630.

 

I don’t see how https://wiki.koha-community.org/wiki/Koha_on_Debian is an answer to someone trying to test out the API in their git repo. Koha comes with an etc/koha-httpd file which one would expect to be usable. If it’s not then I’d suggest we don’t update it, so as to leave fewer people confused. Not everyone uses Debian and koha-gitify isn’t always the right tool either.

 

If you don’t want to help, that’s fine. But I don’t think there’s a need to be snarky. I think it just discourages people from asking questions here.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia

 

Office: 02 9212 0899

Direct: 02 8005 0595

 

From: Tomas Cohen Arazi [mailto:tomascohen@gmail.com]
Sent: Monday, 2 July 2018 12:19 PM


To: David Cook <dcook@prosentient.com.au>
Cc: koha-devel@lists.koha-community.org
Subject: Re: [Koha-devel] Testing out Koha REST API with Apache

 

 

El dom., 1 de jul. de 2018 11:08 p. m., David Cook <dcook@prosentient.com.au> escribió:

And what’s a “normal setup”? That’s what I’d like to know

 

And I don’t want to enable Plack :p.

 

Self punishing?

 

 

--

Tomás Cohen Arazi

Theke Solutions (https://theke.io)
+54 9351 3513384
GPG: B2F3C15F

--
Tomás Cohen Arazi
Theke Solutions (https://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F