Problems writing a module

2002-03-05 Thread Belen Leonardo Javier
Title: Problems writing a module





I've got serious problems with the cmd struct. When I try to use it, if I have a struct to fill (in this case named solconf) , I get garbage even if I try to let fields empty. And If i use a linked list, I cannot make the one for the request destroy when the request finish exec. 

And let me introduce something else: How do I get the data sent to me by a POST request in a form, from an apache module? well, that's all from now, and thanks in advance. Leonardo Belen. AFIP - Argentina.




problems debugging on Linux platform

2002-02-26 Thread Belen Leonardo Javier
Title: problems debugging on Linux platform





I cannot be able to debug modules under Linux, since when I should get into the new module, I get a reference to eval.c, line 88... it's driving me mad! I running Apache 1.3.23 on Linux 2.4 and the module is compiled as a DSO and I'm using gdb 5.0 as debugger. 

Thanks in advance.
 Leonardo Javier Belén
 AFIP-ARGentina





RE: problems debugging on Linux platform

2002-02-26 Thread Belen Leonardo Javier
Title: RE: problems debugging on Linux platform





Yes, I did, but for some reason the httpd -X (for a single process) is not working, since I cannot get into the module, and it seems to all be running in other thread, what is more, the target is actually linuxthread... 

-Mensaje original-
De: Sander Temme [SMTP:[EMAIL PROTECTED]]
Enviado el: martes 26 de febrero de 2002 14:40
Para: [EMAIL PROTECTED]
Asunto: Re: problems debugging on Linux platform


 I cannot be able to debug modules under Linux, since when I should get into
 the new module, I get a reference to eval.c, line 88... it's driving me
 mad! I running Apache 1.3.23 on Linux 2.4 and the module is compiled as a
 DSO and I'm using gdb 5.0 as debugger.


Do you set optimization when compiling? That will confuse gdb. Try putting
CFLAGS=-DDEBUG -O0 on your command line before the ./configure step. That
will turn compiler optimization off: it's on by default.


S.


-- 
Covalent Technologies [EMAIL PROTECTED]
Engineering group Voice: (415) 536 5214
645 Howard St. Fax: (415) 536 5210
San Francisco CA 94105


 PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03 5531 AFB1 96AF B584 0AB1


===
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message
===