Hi all,

I wonder if anyone could help, please…

Active4D v6.3r1, 4D Server v12, NGinX 1.6.1

I want to automatically log in visitors who are refered from a particular URL.

So, if the referer is “www.xyz.com/privatepage” I want to forward the request 
to a special Active4D page which will automatically log them in to our site, 
then redirect them onwards.

Configuring NGinX is not my strong point, but I expect I need some adaptation 
of the code I already have for all standard HTML pages:

location ~ \.html$ {
rewrite /(.*)\.html /infant/$1.a4d break;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://active_4d_server;
break;
}

Thank you!

David Wright
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to