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
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
, Pankaj Chaudhary
wrote:
> Hi ,
> Thank you,
>
> after using this script also i am getting same error.
> I have makefile which provide other header file path and third party lib
> path.
> I have structure like this
> module_folder/
> 1.module.cpp
> 2.config
> 3.M
Hi All,
I am getting error below error for own written module ds_http_module.
nginx: [emerg] dlopen() "/usr/local/nginx/modules/ds_http_module.so"
failed (/usr/local/nginx/modules/ds_http_module.so: undefined symbol:
ds_http_module
Please let me know what could be the reason of this error.
Reg
please let me know what i should do.
On Mon, Jul 18, 2016 at 6:39 PM, Maxim Dounin 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
> files
> > but while
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
ht
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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
d, May 11, 2016 at 2:17 AM, Francis Daly 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 ...
>
> You are correct.
:
> 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.
> > -Generate cooki
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 follow for my requirement, can you s
day 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_int_t
&g
,
h->lowcase_key, h->key.len);
Best Regards,
Pankaj
On Tue, Apr 26, 2016 at 6:23 PM, Valentin V. Bartenev
wrote:
> On Tuesday 26 April 2016 16:52:22 Pankaj Chaudhary wrote:
> > Hi Francis,
> >
> > thank you for your input!
> >
> > I have r
al->lowcase_key, test_val->key.len);
}
curl response:-Test_val was accepting "somevalue"
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!
O
uot;
not getting .
On Thu, Apr 21, 2016 at 1:08 AM, Francis Daly 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
> > >>of that exam
text/plain
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 wrote:
> On Tue, Apr 19, 2016 at 03:51:17PM +0530, Pankaj Chaudhary wrote:
>
> Hi there,
>
> > i am trying to sear
:05 AM, Francis Daly 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" module, yes?
>
&g
not able to read header value after setting...
any help most welcome
On Fri, Apr 15, 2016 at 1:17 PM, Pankaj Chaudhary
wrote:
> Hi Francis,
>
> thank you!
>
> i have checked Emillers guide but i am not able to use the same for my
> problem.
>
> I have my product in c
header by calling
apr_table_get().
I am achieving the same behavior apr_table_set() with ngx_list_push() call
but not able to find like apr_table_get() in nginx.
Reagrds,
Pankaj
On Fri, Apr 15, 2016 at 2:43 AM, Francis Daly wrote:
> On Thu, Apr 14, 2016 at 11:36:52PM +0530, Pankaj Chaudh
Hi Francis,
Thank you for your comments.
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.
Please suggest.
On 14 Apr 2016 22:25, "Francis Daly" wrote:
> On Thu, Apr 14, 2016 at 03:34:40PM
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(&r->headers_out.headers);
h1->hash = 1;
ngx_str_set(&h1->key, "http_user_agent");
ngx_str_set(&h1->value, "user_agent_value");
if i try to retrieve the same value then
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
http://mailman.ng
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
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
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
25 matches
Mail list logo