Closed (fixed)
Project:
Drupad
Version:
7.x-1.8
Component:
iPhone app
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2012 at 13:01 UTC
Updated:
23 May 2012 at 10:50 UTC
I can't connect the iphone app to my nginx server. nginx doesn't use htaccess so the snippets you provide can't be used. I tried to convert them to the nginx version with no luck. This is what I've tried:
if ($http_authorization) {
rewrite ^(.*)$ /index.php?q=$1&login=$http_authorization break;
}
Any ideas how to make this work?
I've used the test on the admin page and it returns a good response, so everything seems to be working correctly...I just can't authenticate.
Comments
Comment #1
jchatard commentedHi,
Actually one of my websites is behind nginx and uses Drupad successfully.
The thing is that I have this module installed: http://wiki.nginx.org/HttpAuthBasicModule