Hi,

     Now I am writing a Nginx module to communicate with an upstream server 
(LDAP) . I had coded both the create_request and process_header callback 
functions. But the problem is, I don’t want to talk with the upstream for for 
all the requests but only for the requests with some special parameters. For 
example: if a request arrives like http://www.example.com/connect?value=yes , 
then I want to talk to the upstream to generate the response for the client But 
if URI is http://www.example.com/connect?value=no , then I don’t want to 
connect to upstream and I need to create my own response to send back to 
client. What should I do? Please help.

Thank you
_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to