[dl-ticket-service] Nginx + rest.php = solution founded

2014-10-20 Thread Jan B. Kolář
Dear all, so I checked source code by myself and find solution for my problem with Nginx + rest.php (see previous emails). I don't know why, but Nginx need one more header in 401 response. So I edited include/fatal.php file and added one line (bold): function httpUnauthorized() {

Re: [dl-ticket-service] Nginx + rest.php = solution founded

2014-10-20 Thread Jan B. Kolář
Dne 20.10.2014 12:26, Yuri D'Elia napsal(a): On 10/20/2014 12:01 PM, Jan B. Kolář wrote: Dear all, so I checked source code by myself and find solution for my problem with Nginx + rest.php (see previous emails). I don't know why, but Nginx need one more header in 401 response. So I edited

Re: [dl-ticket-service] Nginx + rest.php

2014-10-24 Thread Jan B. Kolář
and solving this. Dne 22.10.2014 17:28, Yuri D'Elia napsal(a): On 10/17/2014 07:36 PM, Jan B. Kolář wrote: Dear all, I can't figure out how to set up Nginx for rest.php authentication to work. I'm using Nginx+PHPfpm and MySQL as backend (I want use Internal authentication). Web interface is working fine

Re: [dl-ticket-service] Nginx + rest.php

2014-10-25 Thread Jan B. Kolář
Thank you for clarify this, it makes sense now. I figure out where the mistake in my nginx configuration was, it's working now (I'm using subdomain, not subfolder). Best regards! Dne 25.10.2014 18:16, Yuri D'Elia napsal(a): On 10/24/2014 06:04 PM, Jan B. Kolář wrote: I tested your config