Re: is ap_hook_log_transaction the wright place where to write my stats code ?

2014-12-07 Thread nik600
Thanka for your reply! Is not so simple...the custom logic is a mixture of regex, memcached get, json, cookies and http headers so i had to write a custom module. Btw, thanks for your help! Il 07/dic/2014 10:25 Sorin Manolache sor...@gmail.com ha scritto: On 2014-12-07 01:36, nik600 wrote

is ap_hook_log_transaction the wright place where to write my stats code ?

2014-12-06 Thread nik600
hook more appropriate to do that? Thanks all in advance. Bye -- /*/ nik600 http://www.kumbe.it

problem with shared memory and directives for httpd

2014-12-04 Thread nik600
/mod_kcache.c(96): [client 127.0.0.1] config-s-counter=69 [Thu Dec 04 15:24:48 2014] [debug] src/mod_kcache.c(96): [client 127.0.0.1] config-s-counter=70 ... i've attached the full example (100 lines of code) I'll appreciate any help, thank all in advance -- /*/ nik600 http://www.kumbe.it

Re: problem with shared memory and directives for httpd

2014-12-04 Thread nik600
like it could be causing your problem. -Eric From: nik600 [mailto:nik...@gmail.com] Sent: Thursday, December 04, 2014 10:05 AM To: modules-dev@httpd.apache.org Subject: problem with shared memory and directives for httpd Dear all i'm experiencing a problem with shared memory and i'm

Re: problem with shared memory and directives for httpd

2014-12-04 Thread nik600
...@valmarc.com: Okay but why are you managing the kcache_config structure with both the per-directory AND the server-level functions? You should decide if your kcache_config is server-wide or if it is per-directory, and use only the appropriate functions. -Eric From: nik600 [mailto:nik

Re: problem with shared memory and directives for httpd

2014-12-04 Thread nik600
yes, now it works, thanks again! 2014-12-04 23:49 GMT+01:00 nik600 nik...@gmail.com: Thanks a lot! i've understand the logic... i'll try and let you know! 2014-12-04 23:43 GMT+01:00 Yann Ylavic ylavic@gmail.com: On Thu, Dec 4, 2014 at 10:52 PM, Yann Ylavic ylavic@gmail.com wrote

strange behaviour using mod_proxy when the r-filename partially overlaps the requested uri

2012-08-21 Thread nik600
*succ[] = {mod_proxy.c,mod_alias.c,mod_userdir.c, NULL}; ap_hook_translate_name(kcache_handler_translate, NULL, succ, APR_HOOK_MIDDLE); } /***/ -- /*/ nik600 http://www.kumbe.it

Re: strange behaviour using mod_proxy when the r-filename partially overlaps the requested uri

2012-08-21 Thread nik600
2012/8/21 Sorin Manolache sor...@gmail.com: On 2012-08-21 13:39, nik600 wrote: Replace with apr_pcalloc(r-pool, strlen(newurl) + 1); in order to allocate space for the closing '\0'. Oh, i'm stupid...thanks -- /*/ nik600 http://www.kumbe.it

forward request with proxy_http in custom module

2012-08-17 Thread nik600
working. Is this code correct to forward a request and make my module working as a proxy_http ? Thanks in advance -- /*/ nik600

Re: forward request with proxy_http in custom module

2012-08-17 Thread nik600
Ok, it wasn't clear to me to return DECLINED to look for other handlers, and also wasn't clear the possibility to specify an order. Now it works, thanks. On Fri, Aug 17, 2012 at 4:42 PM, Sorin Manolache sor...@gmail.com wrote: On 2012-08-17 16:25, nik600 wrote: Dear all i'm trying to code

Re: problem with ap_md5 in custom module

2012-08-16 Thread nik600
Great! this fix the problem thanks for your help. On Wed, Aug 15, 2012 at 10:47 PM, Ben Noordhuis i...@bnoordhuis.nl wrote: On Wed, Aug 15, 2012 at 5:13 PM, nik600 nik...@gmail.com wrote: Dear all i'm having a problem with ap_md5, i just want to write a custom module that compute che md5

problem with ap_md5 in custom module

2012-08-15 Thread nik600
wrong? Thanks to all in advance -- /*/ nik600