how i can use third party library while building own nginx module

2016-07-21 Thread Pankaj Chaudhary
Hi, how i can use third party library while building own nginx module as i am using third party libraries. Thanks, Pankaj ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

how i can use third party library while building own nginx module

2016-07-21 Thread Pankaj Chaudhary
Hi, how i can use third party library while building own nginx module as i am using third party libraries. Thanks, Pankaj ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

error while building own nginx module

2016-07-20 Thread Pankaj Chaudhary
error while loading in nginx.conf file. nginx: [emerg] dlopen() "/usr/local/nginx/modules/ngx_http_auth_module.so" failed (/usr/local/nginx/modules/ngx_http_auth_module.so: undefined symbol: ngx_http_auth_module Please let me know correct way to do. Thanks & Regards, Pa

error while building own nginx module

2016-07-20 Thread Pankaj Chaudhary
error while loading in nginx.conf file. nginx: [emerg] dlopen() "/usr/local/nginx/modules/ngx_http_auth_module.so" failed (/usr/local/nginx/modules/ngx_http_auth_module.so: undefined symbol: ngx_http_auth_module Please let me know correct way to do. Thanks & Regards, Pa

Re: while building own nginx module error to find user defined header file

2016-07-19 Thread Pankaj Chaudhary
please let me know what i should do. On Mon, Jul 18, 2016 at 6:39 PM, Maxim Dounin <mdou...@mdounin.ru> wrote: > Hello! > > On Mon, Jul 18, 2016 at 12:28:34PM +0530, Pankaj Chaudhary wrote: > > > I have written my own nginx module and i have my user defined header > f

while building own nginx module error to find user defined header file

2016-07-18 Thread Pankaj Chaudhary
Hi All, I have written my own nginx module and i have my user defined header files but while building i am getting error header file not found. my module will act as a filter. Please help me. Regards, Pankaj ___ nginx mailing list nginx@nginx.org

how can i get nginx lib

2016-06-27 Thread Pankaj Chaudhary
___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

how can i get nginx lib

2016-06-27 Thread Pankaj Chaudhary
___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

reading config during run time

2016-05-23 Thread Pankaj Chaudhary
Hi, In my module i want to read config values run time. is there method available in nginx which i can use. Please suggest. Regards, Pankaj ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

reading config during run time

2016-05-23 Thread Pankaj Chaudhary
Hi, In my module i want to read config values run time. is there method available in nginx which i can use. Please suggest. Regards, Pankaj ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

Re: (52) Empty reply from server

2016-05-11 Thread Pankaj Chaudhary
d, May 11, 2016 at 2:17 AM, Francis Daly <fran...@daoine.org> wrote: > On Mon, May 09, 2016 at 02:34:13PM +0530, Pankaj Chaudhary wrote: > > Hi there, > > > Its means nginx do not have any API as other server having to set header > > and get header ? very strange

Re: (52) Empty reply from server

2016-05-09 Thread Pankaj Chaudhary
;vb...@nginx.com> wrote: > On Thursday 05 May 2016 10:27:46 Pankaj Chaudhary wrote: > > Hi, > > > > thank you! > > My module is basically for resource protection. > > I have already running my module on other servers also. > > My module follow below steps. >

Re: (52) Empty reply from server

2016-05-04 Thread Pankaj Chaudhary
wrote: > On Wednesday 27 April 2016 21:51:33 Pankaj Chaudhary wrote: > > Hi, > > Thank you, > > I got this point. > > But in my case i need to set cookie value in header later read from > header > > the same value. > > Is any example which i can follo

Re: (52) Empty reply from server

2016-04-27 Thread Pankaj Chaudhary
wrote: > On Wednesday 27 April 2016 13:26:47 Pankaj Chaudhary wrote: > > Hi Bart, > > > > thank you for response. > > > > I have referred the /root/Downloads/nginx-1.9.14/src/http/v2 module code. > > > > Below is that sample code. > > static ngx

reading cookie value issue

2016-04-26 Thread Pankaj Chaudhary
value" HTTP/1.1 200 OK Server: nginx/1.9.12 Date: Tue, 26 Apr 2016 19:13:40 GMT Content-Type: text/plain Content-Length: 34 Connection: keep-alive Test_Val: Cookie Hello, This is Nginx test Module! Thanks & Regards, Pankaj Chaudhary ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

Re: (52) Empty reply from server

2016-04-21 Thread Pankaj Chaudhary
uot; not getting . On Thu, Apr 21, 2016 at 1:08 AM, Francis Daly <fran...@daoine.org> wrote: > On Wed, Apr 20, 2016 at 12:54:13PM +0530, Pankaj Chaudhary wrote: > > Hi there, > > > >>But your code snippet does not match exactly the types and return > values

Re: (52) Empty reply from server

2016-04-20 Thread Pankaj Chaudhary
n Content-Length: 14 Connection: keep-alive cookie: thisitestvalue user_agent: 10.9 user get-rese: Cookie On Tue, Apr 19, 2016 at 11:12 PM, Francis Daly <fran...@daoine.org> wrote: > On Tue, Apr 19, 2016 at 03:51:17PM +0530, Pankaj Chaudhary wrote: > > Hi there, > > > i am

Re: (52) Empty reply from server

2016-04-19 Thread Pankaj Chaudhary
ancis Daly <fran...@daoine.org> wrote: > On Mon, Apr 18, 2016 at 04:25:24PM +0530, Pankaj Chaudhary wrote: > > Hi there, > > > not able to read header value after setting... > > > > any help most welcome > > You have your nginx "hello world"

Re: (52) Empty reply from server

2016-04-18 Thread Pankaj Chaudhary
not able to read header value after setting... any help most welcome On Fri, Apr 15, 2016 at 1:17 PM, Pankaj Chaudhary <pankajit...@gmail.com> wrote: > Hi Francis, > > thank you! > > i have checked Emillers guide but i am not able to use the same for my > problem. &g

Re: (52) Empty reply from server

2016-04-15 Thread Pankaj Chaudhary
2PM +0530, Pankaj Chaudhary wrote: > > Hi there, > > > Actually I have requirement to add value to header and then read same > value > > like cookies values,URL. > > Is any API which I can use for the same. > > The referenced guides are probably the best startin

Re: (52) Empty reply from server

2016-04-14 Thread Pankaj Chaudhary
r 14, 2016 at 03:34:40PM +0530, Pankaj Chaudhary wrote: > > Hi there, > > > i am trying to set value in header with the help of below code snippet . > > Web searches for how to write nginx modules tend to point towards > "Emiller's Guide" or the "Nginx

(52) Empty reply from server

2016-04-14 Thread Pankaj Chaudhary
Hi All, i am trying to set value in header with the help of below code snippet . ngx_table_elt_t *h1; h1 = ngx_list_push(>headers_out.headers); h1->hash = 1; ngx_str_set(>key, "http_user_agent"); ngx_str_set(>value, "user_agent_value"); if i try to retrieve the same value then getting

reading cookie

2016-04-12 Thread Pankaj Chaudhary
Hi, My name is Pankaj and i am new to this list. I would like to know how i can set cookie value and get cookie value. Please let me know is any module already written to do this. Regards, Pankaj ___ nginx mailing list nginx@nginx.org

cookie issue

2016-04-11 Thread Pankaj Chaudhary
ngx_http_get_variable() API to get cookie value but not getting any value. Please help me on this and let me know is any other API which I can use for the same. Thanks & Regards, Pankaj Chaudhary ___ nginx mailing list nginx@nginx.org http://mailman.nginx

cookie issue

2016-04-11 Thread Pankaj Chaudhary
ngx_http_get_variable() API to get cookie value but not getting any value. Please help me on this and let me know is any other API which I can use for the same. Thanks & Regards, Pankaj Chaudhary ___ nginx mailing list nginx@nginx.org http://mailman.nginx