Re: Using mod_rewrite in my authorization module. Need advice.

2010-02-04 Thread Kevac Marko
On Thu, Feb 4, 2010 at 10:52 AM, Sorin Manolache sor...@gmail.com wrote: Try to set an apache request note in the authentication instead of dynamically changing the configuration of mod_rewrite.c. Thus, you'll have something like RewriteRule /url %{ENV:destination} The configuration would

Re: Using mod_rewrite in my authorization module. Need advice.

2010-02-04 Thread Kevac Marko
On Thu, Feb 4, 2010 at 2:05 PM, Sorin Manolache sor...@gmail.com wrote: No, you cannot. The expansion does not work in the pattern (the second argument). But the second argument can be a regular expression. Hopefully you can write regexps for all your cases. Unfortunately I cannot. These

Generating a lot of data in content handler

2009-12-08 Thread Kevac Marko
Hello. I am doing a lot of ap_rprintf(r, ...) in my content handler, generating more than tens of megabytes of data per request. I suppose all this data is kept in r-pool, which is freed after request. So if one user consume 20 MiB, hundred will consume 2 GiB. How can I generate a lot of data

Re: Probably OT. Difficulty implementing content handler Apache2

2009-07-14 Thread Kevac Marko
Check for segmentation faults in global error-log. -- Marko Kevac Gilda Radner - Adopted kids are such a pain - you have to teach them how to look like you. - http://www.brainyquote.com/quotes/authors/g/gilda_radner.html

Memory and pools

2009-06-30 Thread Kevac Marko
Hello Is memory (RSS) returned to OS after cleaning pool (for example r-pool)? After destroying pool? My module uses a lot of memory (~100 MiB). This memory is taken from r-pool. But after request is finished, this memory is not returned to OS - RSS is 100 MiB. Linux 2.6 - httpd-2.2.10 --

Re: Making HTTP requests

2009-06-02 Thread Kevac Marko
I am using CURL. On Mon, Jun 1, 2009 at 9:01 PM, Michael Spiegle m...@nauticaltech.com wrote: Is there a proper/defined way to use mod_proxy for this, or should I just move forward with cURL? -- Marko Kevac

How to parse POST arguments?

2009-04-16 Thread Kevac Marko
Hello 1. How to parse POST arguments? 2. Why there is no functions to parse GET and POST arguments in Apache? Thanks. -- Marko Kevac

mod_dbd analogue for memcached

2009-03-05 Thread Kevac Marko
Hello I've created mod_dbd analogue for memcached (named connection pools to memcached servers, see also http://www.mail-archive.com/d...@httpd.apache.org/msg42922.html). It's now based on libmemcached (http://tangent.org/552/libmemcached.html). The question I want to ask is should I base my

Regular expression matching for multi line strings...

2008-12-22 Thread Kevac Marko
) What i am doing wrong? Thanks. -- С уважением, Кевац Марко Sincerely yours, Kevac Marko

Re: Howto implement a new algorithm scheduler in mod_proxy_balancer

2008-10-22 Thread Kevac Marko
this message in context: http://www.nabble.com/Howto-implement-a-new-algorithm-scheduler-in-mod_proxy_balancer-tp20082207p20117149.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com. -- С уважением, Кевац Марко Sincerely yours, Kevac Marko

Re: Access configuration variable in other modules

2008-09-13 Thread Kevac Marko
build system, sorry. I still mantain my fork of mod_dbd separarely. -- С уважением, Кевац Марко Sincerely yours, Kevac Marko

Re: Access configuration variable in other modules

2008-09-13 Thread Kevac Marko
уважением, Кевац Марко Sincerely yours, Kevac Marko

What should i do to bring attention to the bug?

2008-08-25 Thread Kevac Marko
-- С уважением, Кевац Марко Sincerely yours, Kevac Marko

Re: Child init process is not initialized with the data stored by master process

2008-07-24 Thread Kevac Marko
] wrote: Which is the problem? -- С уважением, Кевац Марко Sincerely yours, Kevac Marko

Re: mod_dbd and more than one database server

2008-07-11 Thread Kevac Marko
On Thu, Jul 10, 2008 at 7:18 AM, Kevac Marko [EMAIL PROTECTED] wrote: Thank you, but i need pool of connections too. So i think i'll fix mod_dbd to allow more than one connection pool and slightly change api to allow choosing pool of connections. I am planning to implement something like

Re: mod_dbd and more than one database server

2008-07-09 Thread Kevac Marko
always open ad-hoc database connections directly using the apr-util functions apr_dbd_get_driver(), apr_dbd_open_ex(), apr_dbd_close(), etc. instead of using the pool of connections provided by mod_dbd. -- С уважением, Кевац Марко Sincerely yours, Kevac Marko

Re: [可能是垃圾邮件] Re: how to catch segment fault

2008-06-25 Thread Kevac Marko
. can you tell me how to change startup script -- С уважением, Кевац Марко Sincerely yours, Kevac Marko

Re: how to catch segment fault

2008-06-24 Thread Kevac Marko
how to change startup script -- С уважением, Кевац Марко Sincerely yours, Kevac Marko

ap_auth_type(r) problem

2008-06-21 Thread Kevac Marko
that mod_mycache is executed from quick handler? -- С уважением, Кевац Марко Sincerely yours, Kevac Marko