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ář" wro

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

2014-10-24 Thread Jan B. Kolář
irecting to itself. Thank you again for your time 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

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 r

[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() { *header

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

2014-10-18 Thread Jan B. Kolář
with blank page (header from server said 401 Unauthorized). Nobody use nginx with dl? Jan Dne 17.10.2014 20:12, Yuri D'Elia napsal(a): On 10/17/2014 07:36 PM, "Jan B. Kolář" wrote: My Nginx config part for "rest.php" file is: location = /rest.php { fastcgi_

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

2014-10-17 Thread Jan B. Kolář
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 - I can log in without a problem. But I can't use integration with Thunderbird, because "r