Yes,
Mod_status shows in browser and writes in file.
But mod_status writes in a file only when I stop apache.
Ricardo
Eric Covener wrote:
>
> On Wed, Aug 26, 2009 at 11:56 AM, ricardo13
> wrote:
>>
>> HI,
>>
>> How do I collect these informations in my mod
Hi Eric,
Really.
I modified mod_status and now, it is work and writing information in a file.
I'm using open_logs and log_transaction hooks.
Ricardo
Eric Covener wrote:
>
> On Wed, Aug 26, 2009 at 8:47 AM, ricardo13
> wrote:
>>
>> Hi,
>>
>> I would
HI,
How do I collect these informations in my module ?
Ricardo
ricardo13 wrote:
>
> Hi,
>
> I would like to implement a module that write information (busy worker and
> idle worker) in file.
> When request is processed, It writes information (ap_log_hook).
>
> I us
Hi,
I would like to implement a module that write information (busy worker and
idle worker) in file.
When request is processed, It writes information (ap_log_hook).
I use mod_status to recovery these information. I don't know about use these
information in my module.
Ricardo
--
View this mess
Hi,
I did a module (mod_helloWorld.c) and I'm using pre_connection hook.
My problem's .. How do I play out a connection in pre_connection hook??
For example, my module run the follow code:
static int pre_connection(conn_rec *c, void csd) {
if (IP = xxx.xxx.xxx.xxx) process request
hi,
I'm studying (little bit) mod_status and I saw worker_score object.
My doubt's about worker_score->start_time and worker_score->stop_time
fields.
Is it processing time of request ?? Or, Is it life time of process (or
thread) ??
Thank you
Ricardo
--
View this message in context:
http://www
cardo
ricardo13 wrote:
>
> Hi,
>
> I'm using Worker MPM and would like to implement a module that uses 2
> threads and one array.
> The first thread works adding requests in array. Just it.
> And second thread schedules requests in array to processing.
>
> I u
I didn't undestand about "talk to your thread standalone".
What do I will talk for thread ?
Thank you
Ricardo
Eric Covener wrote:
>
> On Tue, Jul 28, 2009 at 6:59 AM, ricardo13
> wrote:
>>
>> Hi,
>>
>> I'm using Worker MPM and would like to i
Hi,
I'm using Worker MPM and would like to implement a module that uses 2
threads and one array.
The first thread works adding requests in array. Just it.
And second thread schedules requests in array to processing.
I used post_config() hook for initialize structures and creates threads.
What ho
/* merge per-server config structures */
NULL,/* table of config file commands */
register_hooks /* register hooks */
};
I was using post_config, but now I changes for child_init.
THank you
Ricardo
Joe Lewis-2 wrote:
>
> r
HI,
One question.
How do I declare global variables ??
Thank you
Ricardo
Sorin Manolache wrote:
>
> On 2008-12-22, Andrej van der Zee wrote:
>> Hi,
>>
>> I need to initialise some structures for each process (in prefork MPM)
>> when it is created, and need to be able to access these struc
HI,
Any idea ?
Ricardo
ricardo13 wrote:
>
> Hi,
>
> My idea's create queues for prioritize requests, so I would want handle
> requests (perfectly as worker.c, but not handle sockets).
> File worker.c adds and removes sockets in a queue. I want to create two
> que
Hi,
My idea's create queues for prioritize requests, so I would want handle
requests (perfectly as worker.c, but not handle sockets).
File worker.c adds and removes sockets in a queue. I want to create two
queues of request where there is 2 threads. One thread adds request,
according classificati
Hi,
I thought that ap_process_request was a parameter for GDB. Sorry !!
Then, Is ap_process_request a function in http_request.c ?
Thank you
Ricardo
Tom Evans-3 wrote:
>
> On Fri, 2009-07-24 at 03:00 -0700, ricardo13 wrote:
>> hi,
>>
>> The GDB session is very large.
(r=0xa13c080) at http_request.c:276
276 if (ap_extended_status)
(gdb)
259 {
(gdb)
My module calls mod_teste !!!
Thank you
Ricardo
Tom Evans-3 wrote:
>
> On Thu, 2009-07-23 at 11:51 -0700, ricardo13 wrote:
>> hi,
>>
>> Thank you for reply.
>>
&
supp...@bettercgi.com
>
> Strongbox - The next generation in site security:
> http://www.bettercgi.com/strongbox/
>
> Throttlebox - Intelligent Bandwidth Control
> http://www.bettercgi.com/throttlebox/
>
> Strongbox / Throttlebox affiliate program:
> http://www.be
Hi,
I'm developing a module and need to debug. I'm having some problems.
When I start Apache and acess the browser (localhost) doesn't show webpage.
Thank you
Ricardo
--
View this message in context:
http://www.nabble.com/How-do-I-debug-a-module---tp24630579p24630579.html
Sent from the Apache
Hi,
Can I insert image here ?
Thank you
Ricardo
Tom Evans-3 wrote:
>
> On Thu, 2009-07-23 at 05:59 -0700, ricardo13 wrote:
>> Hi,
>>
>>
>> ricardo13 wrote:
>> >
>> >
>> >
>> > Eric Covener wrote:
>> >>
>
te:
>
> On Thu, 2009-07-23 at 05:59 -0700, ricardo13 wrote:
>> Hi,
>>
>>
>> ricardo13 wrote:
>> >
>> >
>> >
>> > Eric Covener wrote:
>> >>
>> >> On Sun, Jul 19, 2009 at 11:50 PM, ricardo13
>>
but manipulate requests
object before the content generator.
My idea's create a module that manages two arrays of requests. It adds and
removes requests in array.
Thank You
Ricardo
Eric Covener wrote:
>
> On Thu, Jul 23, 2009 at 8:59 AM, ricardo13
> wrote:
>>
>> H
Hi,
ricardo13 wrote:
>
>
>
> Eric Covener wrote:
>>
>> On Sun, Jul 19, 2009 at 11:50 PM, ricardo13
>> wrote:
>>
>>>> One question for I undestand the sequence of hooks.
>>>> Do It means that firstly worker.c processes sockets (
Hi,
Eric Covener wrote:
>
> On Tue, Jul 21, 2009 at 10:17 AM, ricardo13
> wrote:
>>
>> Hi,
>>
>> I would like to konw how I pass information to other machine and between
>> modules.
>>
>> For example:
>>
>> module A (mod_re
Hi,
I would like to konw how I pass information to other machine and between
modules.
For example:
module A (mod_rewrite) in Server A forward request to module b (worker.c) in
Server B.
The modules are different. The module A sets a information and module only
"get" that information.
Remember,
--
View this message in context:
http://www.nabble.com/How-I-pass-a-information---tp24588474p24588474.html
Sent from the Apache HTTP Server - Module Writers mailing list archive at
Nabble.com.
Eric Covener wrote:
>
> On Sun, Jul 19, 2009 at 11:50 PM, ricardo13
> wrote:
>
>>> One question for I undestand the sequence of hooks.
>>> Do It means that firstly worker.c processes sockets (accept
>>> connections),
>>> after othe
Thank you Eric,
Now, I undestood.
Eric Covener wrote:
>
> On Sun, Jul 19, 2009 at 11:50 PM, ricardo13
> wrote:
>
>>> One question for I undestand the sequence of hooks.
>>> Do It means that firstly worker.c processes sockets (accept
>>> connections)
Eric Covener wrote:
>
> On Wed, Jul 15, 2009 at 7:39 AM, ricardo13
> wrote:
>>
>> hi all,
>>
>> I modified request_rec simply adding a field in request_rec.
>> Now, I would like get this field in worker.c
>>
>> My doubt about this is becau
of questions.
>
>
>
> Thanks,
>
> Rick Houser
> Auto-Owners Insurance
> Systems Support
> (517)703-2580
>
> -Original Message-
> From: ricardo13 [mailto:ricardoogra...@gmail.com]
> Sent: Wednesday, July 15, 2009 10:23 AM
> To: modules-d
gt; Ray Morris
> supp...@bettercgi.com
>
> Strongbox - The next generation in site security:
> http://www.bettercgi.com/strongbox/
>
> Throttlebox - Intelligent Bandwidth Control
> http://www.bettercgi.com/throttlebox/
>
> Strongbox / Throttlebox affiliate program:
> http://www.b
; Ray Morris
> supp...@bettercgi.com
>
> Strongbox - The next generation in site security:
> http://www.bettercgi.com/strongbox/
>
> Throttlebox - Intelligent Bandwidth Control
> http://www.bettercgi.com/throttlebox/
>
> Strongbox / Throttlebox affiliate program:
> ht
Eric Covener wrote:
>
> On Wed, Jul 15, 2009 at 7:39 AM, ricardo13
> wrote:
>>
>> hi all,
>>
>> I modified request_rec simply adding a field in request_rec.
>> Now, I would like get this field in worker.c
>>
>> My doubt about this is becau
hi all,
I modified request_rec simply adding a field in request_rec.
Now, I would like get this field in worker.c
My doubt about this is because worker.c manipulates only sockets and doesn't
request_rec object.
How do I do this ??
Thank you
Ricardo
--
View this message in context:
http://www
Any suggestion ?
Ricardo
ricardo13 wrote:
>
> Hi all,
>
> This attached file is my proxy module.
>
> When I start APACHE write in log_error_log
> Configuration Failed
>
> What's error ??
>
> Thank you
> Ricardo
>
>
> ricardo13 wrote:
&g
Hi all,
This attached file is my proxy module.
When I start APACHE write in log_error_log
Configuration Failed
What's error ??
Thank you
Ricardo
ricardo13 wrote:
>
> hi,
>
> I'm newbie in APR and need develop a module that forward request to
> cluster. The same in
Eric Covener wrote:
>
> On Tue, Jul 14, 2009 at 7:37 AM, Tom Evans
> wrote:
>> On Tue, 2009-07-14 at 03:22 -0700, ricardo13 wrote:
>
>>> r->filename = apr_psprintf(r->pool, "%s://%s%s%s%s", "http",
>>> "ip_machine",
&
Tom Evans-3 wrote:
>
> On Tue, 2009-07-14 at 03:22 -0700, ricardo13 wrote:
>> Hi,
>>
>> Yesterday, I studied mod_rewrite very much and I believe that
>> fully_qualify_uri() function is where mod_rewrite does proxy.
>>
>> That's right ??
p://ip_machine:port_machine(null)\x18#W\xb7[$\x07\bHl\xef\t\xd4m\xef\t\xdcm\xef\t\x04\n\xef\t
What's this ?
Thank you.
Ricardo
ricardo13 wrote:
>
> hi,
>
> I'm newbie in APR and need develop a module that forward request to
> cluster. The same in mod_rewrite with
Hi,
I'm studying proxy in mod_rewrite and I saw the following line:
request_rec *r;
r->proxyreq == PROXYREQ_PROXY;
But in httpd.h, the request_rec object hasn't field proxyreq.
What's this ??
Thank you
Ricardo
ricardo13 wrote:
>
> hi,
>
> I'm newbie in
Eric Covener wrote:
>
> On Mon, Jul 13, 2009 at 10:46 AM, ricardo13
> wrote:
>
>>> Not arbitrarily. You can store that value in a note (r->notes) and
>>> set/query via rewrite if you're not looking to do much development.
>>>
>>>
>&g
Eric Covener wrote:
>
> On Mon, Jul 13, 2009 at 10:33 AM, ricardo13
> wrote:
>>
>>
>>
>> Eric Covener wrote:
>>>
>>> On Mon, Jul 13, 2009 at 10:06 AM, ricardo13
>>> wrote:
>>>>>> It's difficult. I'd suggest
Eric Covener wrote:
>
> On Mon, Jul 13, 2009 at 10:06 AM, ricardo13
> wrote:
>>>> It's difficult. I'd suggest finding a way to use existing modules.
>>>
>>> Use or modify, that is.
>>> Can my module to use mod_proxy for forward req
Eric Covener wrote:
>
> On Mon, Jul 13, 2009 at 9:53 AM, Eric Covener wrote:
>> On Mon, Jul 13, 2009 at 9:48 AM, ricardo13
>> wrote:
>>
>>>> Only opinion. Is this difficult ?? or easy ??
>>>> Because I haven't idea !!
>>
>>
achine(ip);
>
> Just it. My doubt is forward request as like mod_proxy, or flag [P] in
> mod_rewrite.
> I'm reading mod_proxy, but doesn't understood.
>
> Thank you
> Ricardo
>
>
>
>
> Thanks,
>
> Rick Houser
> Auto-Owners Insurance
> Sys
Eric Covener wrote:
>
> On Mon, Jul 13, 2009 at 9:34 AM, ricardo13
> wrote:
>>
>> hi,
>>
>> I'm newbie in APR and need develop a module that forward request to
>> cluster.
>> The same in mod_rewrite with flag [P].
>>
>> That
hi,
I'm newbie in APR and need develop a module that forward request to cluster.
The same in mod_rewrite with flag [P].
That module, I processing the object request_rec->uri and set what machine
in cluster forward the request.
Thank you.
Ricardo
--
View this message in context:
http://www.nab
Sorin Manolache wrote:
>
> On Tue, Nov 18, 2008 at 20:17, ricardo13 <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I'm writing a apache's module that comunicate with a extern process.
>>
>> My extern process is built in C:
>>
>&
Hi,
I'm writing a apache's module that comunicate with a extern process.
My extern process is built in C:
char* shm_address;
intshmid;
key_t shmkey;
shmkey = 5678;
shmid = shmget(shmkey, SIZEOFSHMSEG, 0666);
if (shmid == -1)
Hi
I will build a scheduler that receive a little message from cluster. At
cluster, there is a process that send messages about CPU.
Then the server I need to build a separate program that receives that
message and passes to the apache.
Can I use socket to communicate external process with apach
ty
> limited. Best thing is to create an external process which
> runs separately and adjusts shared memory data.
>
> Re #2: It ain't trivial.
> It's very hard ???
> What monitor ???
> Are there any book or tutorials about memory shared ??
>
> Thank You
>
&
Hi,
I wanted implement a new algorithm scheduler to mod_proxy_balancer.
I built a new algorithm and want test in apache2.
Thank you
Ricardo
--
View this message in context:
http://www.nabble.com/Howto-implement-a-new-algorithm-scheduler-in-mod_proxy_balancer-tp20082207p20082207.html
Sent from
50 matches
Mail list logo