Re: Writing a new auth module - request for comments

2015-06-17 Thread Valentin V. Bartenev
On Wednesday 17 June 2015 11:25:33 Senko Rasic wrote: > Hi, > > I'm writing a new module (out-of-tree) for supporting authentication > using Stormpath's user management API (https://stormpath.com/). > > Basically, the module makes one or more HTTP requests to the > Stormpath API to determine if t

Re: Move old apache project

2015-06-17 Thread Replace
Sorry, i find out :) Add these missing params in php-fpm configuration and work like charm fastcgi_param SCRIPT_FILENAME$document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME$fastcgi_script_name; Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259684,259685#msg-25

Move old apache project

2015-06-17 Thread Replace
HI again, guys. I have another trouble with own old projects basec on large htaccess rewriet rules. That's my configuration http://pastebin.com/7JCmiaSm in server block for one site, and everything work fine except when open url without "index.php" there. Nginx return me "Access denied", and i can'

Writing a new auth module - request for comments

2015-06-17 Thread Senko Rasic
Hi, I'm writing a new module (out-of-tree) for supporting authentication using Stormpath's user management API (https://stormpath.com/). Basically, the module makes one or more HTTP requests to the Stormpath API to determine if the client request should be authorized to access a location or not.

Re: Dynamic configuration

2015-06-17 Thread Replace
Thanks for reply @ryd994. I've read the documentation and still read, but did not find a way :) Nevermind, I decided every project have own server block, for better debug. That's also nice, but now i have little problem with move some old project, with very large htaccess :( Thanks again! Posted a