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-develby pankajitbhu - Nginx Development
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/nginxby pankajitbhu - Nginx Mailing List - English
Hi i have written own nginx module and i have many header ,src and makefiles files . my nginx module folder structure look like below /product/src/nginx/ngx_http_auth_module.cpp /product/src/nginx/Makefile /product/src/nginx/config(nginx config file) /product/src/common/.cpp files /product/lib/.so files /product/src/utility/.c and .h files i have written my config file like this ************by pankajitbhu - Nginx Development
Hi i have written own nginx module and i have many header ,src and makefiles files . my nginx module folder structure look like below /product/src/nginx/ngx_http_auth_module.cpp /product/src/nginx/Makefile /product/src/nginx/config(nginx config file) /product/src/common/.cpp files /product/lib/.so files /product/src/utility/.c and .h files i have written my config file like this ************by pankajitbhu - Nginx Mailing List - English
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.Makefile and having sub parent folder which contain other dependency code. so please let me know what i should do On Tue, Jul 19, 2016 at 3:14 PM, Pankaj Chaudhary <pankajitbhu@gmail.com> wrote: > Hi , > Thank you, > > after using tby pankajitbhu - Nginx Mailing List - English
Hi All, I am getting error below error for own written module ds_http_module. nginx: 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. Regards, Pankaj _______________________________________________ nginx-devel mailing list nginx-devel@by pankajitbhu - Nginx Development
Hi All, I am getting error below error for own written module ds_http_module. nginx: 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. Regards, Pankaj _______________________________________________ nginx mailing list nginx@nginx.org htby pankajitbhu - Nginx Mailing List - English
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.Makefile and having sub parent folder which contain other dependency code. so please let me know what i should do. On Mon, Jul 18, 2016 at 6:39 PM, Maxim Dounin <mdounin@mdouby pankajitbhu - Nginx Mailing List - English
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-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-develby pankajitbhu - Nginx Development
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 http://mailman.nginx.org/mailman/listinfo/nginxby pankajitbhu - Nginx Mailing List - English
_______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-develby pankajitbhu - Nginx Development
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby pankajitbhu - Nginx Mailing List - English
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-develby pankajitbhu - Nginx Development
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/nginxby pankajitbhu - Nginx Mailing List - English
>You can read the headers_in data structure, and write the headers_out >data structure, as the examples show. I was able to write in headers_out data structure as i have shown my code already but i was not able to read from headers_in structure that is problem i am facing. I am looking solution for this only. I have followed the given example mentioned in below link. https://www.nginx.com/by pankajitbhu - Nginx Mailing List - English
Hi, Its means nginx do not have any API as other server having to set header and get header ? very strange ... I need to write my own module to read and write cookies values? My module is in written in C programming language. On Thu, May 5, 2016 at 7:32 PM, Valentin V. Bartenev <vbart@nginx.com> wrote: > On Thursday 05 May 2016 10:27:46 Pankaj Chaudhary wrote: > > Hi, > &by pankajitbhu - Nginx Mailing List - English
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 cookie and write in response header -read from header when cookie is needed IIS have API setheader() to set header and getheader() to get header. Apache have apr_table_get() to get value from header and apr_table_set() to set the value iby pankajitbhu - Nginx Mailing List - English
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby pankajitbhu - Nginx Mailing List - English
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 suggest please. Regards, Pankaj On Wed, Apr 27, 2016 at 9:08 PM, Valentin V. Bartenev <vbart@nginx.com> wrote: > On Wednesday 27 April 2016 13:26:47 Pankaj Chaudhary wrote: > > Hi Bart, > >by pankajitbhu - Nginx Mailing List - English
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 ngx_http_v2_parse_authority(ngx_http_request_t *r, ngx_http_v2_header_t *header) { ngx_table_elt_t *h; ngx_http_header_t *hh; ngx_http_core_main_conf_t *cmcf; static ngx_str_t host = ngx_string("host&quby pankajitbhu - Nginx Mailing List - English
Hi, I have requirement to create own cookie based on input and wirte the that cookie in header. whenever i need that i can read from header and use it. for example:- I have created my own cookie "thissomevalue" worte in header and later the same read from header. Please check my code and let me know why i am not able to read the value from header. Below code snippet to set headerby pankajitbhu - Nginx Development
Hi Francis, thank you for your input! I have requirement to create own cookie based on input and wirte the that cookie in header. whenever i need that i can read from header and use it. for example:- I have created my own cookie "thissomevalue" worte in header and later the same read from header. Please check my code and let me know why i am not able to read the value from headerby pankajitbhu - Nginx Mailing List - English
Hi, Thank You! yes i am able to write successfully but while reading i am not getting the my written value in header. for Example from my source code:-I am writing "thisitestvalue" value against key "Set-Cookie" but if trying to read value against key "Set-Cookie" not getting . On Thu, Apr 21, 2016 at 1:08 AM, Francis Daly <francis@daoine.org> wrote:by pankajitbhu - Nginx Mailing List - English
>>But your code snippet does not match exactly the types and return values >>of that example. I don't know if that is something worth investigating. I have tried to change match exactly the types and return values of that example. but below is response curl: (52) Empty reply from server >>Also, you may be able to make use of #3: "Blazing fast" instead. but same respoby pankajitbhu - Nginx Mailing List - English
Hi all, i am trying to search for one header with the specified name i am not able to get header value . below my code snippet. ngx_http_core_main_conf_t *clcf; ngx_str_t *type; ngx_uint_t hash; ngx_str_t val = ngx_string("http_cookie"); clcf = ngx_http_get_module_main_conf(r, ngx_http_core_module); hash = ngx_hash_key_lc(val.data, vby pankajitbhu - Nginx Mailing List - English
not able to read header value after setting... any help most welcome On Fri, Apr 15, 2016 at 1:17 PM, Pankaj Chaudhary <pankajitbhu@gmail.com> 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 and currently running on Apache and now i have to > move this product oby pankajitbhu - Nginx Mailing List - English
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 and currently running on Apache and now i have to move this product on nginx. In Apache apr_table_set() can use set value to header and later that value can read from header by calling apr_table_get(). I am achieving the same behavior apr_table_set() with ngx_list_pusby pankajitbhu - Nginx Mailing List - English
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" <francis@daoine.org> wrote: > On Thu, Apr 14, 2016 at 03:34:40PM +0530, Pankaj Chaudhary wrote: > > Hi there, > > > i am tryingby pankajitbhu - Nginx Mailing List - English