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

jchatard’s picture

Status: Active » Fixed

Hi,

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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.