[users@httpd] Apache modify source code

2011-05-16 Thread marco
Hi all, I want to ask you if someone have tried to modify apache source code. Can I modify code after installation or I need to recompile all apache source files? P.S: In particular I want to modify http_request.c file (and I want to insert into it a routine called from ap_process_request()

Re: [users@httpd] Apache modify source code

2011-05-16 Thread Mark Montague
On May 16, 2011 10:49 , marco marcodis...@gmail.com wrote: I want to ask you if someone have tried to modify apache source code. Yes. Can I modify code after installation or I need to recompile all apache source files? Apache HTTP Server is written in C. This means that you need to

Fwd: Re: [users@httpd] Apache modify source code

2011-05-16 Thread marco
Messaggio originale Oggetto:Re: [users@httpd] Apache modify source code Data: Mon, 16 May 2011 17:05:16 +0200 Mittente: marco marcodis...@gmail.com A: Mark Montague m...@catseye.org Il 16/05/2011 16.56, Mark Montague ha scritto: On May 16, 2011 10:49

Re: Re: [users@httpd] Apache modify source code

2011-05-16 Thread Eric Covener
Can you believe that this problem can be solved without modify http_request.c file? Write a small module with a fixup hook that signals your daemon and blocks until the request can continue. - The official User-To-User support

Re: [users@httpd] Apache modify source code

2011-05-16 Thread Mark Montague
Please don't reply privately (off-list); it deprives other people (both now and in the future) from the benefits of the discussion. On May 16, 2011 11:05 , marco marcodis...@gmail.com wrote: I have a LAMP architecure and I want that when an http request must be served, then the apache

Re: [users@httpd] Apache modify source code

2011-05-16 Thread marco
Il 16/05/2011 17.25, Mark Montague ha scritto: Please don't reply privately (off-list); it deprives other people (both now and in the future) from the benefits of the discussion. Sorry but I have not done on purpose! On May 16, 2011 11:05 , marco marcodis...@gmail.com wrote: I have a LAMP

Re: [users@httpd] Apache modify source code

2011-05-16 Thread Nick Kew
On 16 May 2011, at 16:25, Mark Montague wrote: Yes: I believe you could write a module to do this. (I'd have to do research to be able to say exactly how, though). The advantage to doing this in a module, instead of modifying httpd itself, is lower maintenance costs when future

Re: [users@httpd] Apache modify source code

2011-05-16 Thread marco
Il 16/05/2011 17.25, Mark Montague ha scritto: Please don't reply privately (off-list); it deprives other people (both now and in the future) from the benefits of the discussion. On May 16, 2011 11:05 , marco marcodis...@gmail.com wrote: I have a LAMP architecure and I want that when an

Re: [users@httpd] Apache modify source code

2011-05-16 Thread Mark Montague
On May 16, 2011 12:30 , marco marcodis...@gmail.com wrote: As you told me, I have read how to use mod_perl. For my goal, as I expalin you in the previous mail, I can use mod perl to create an handler that will be executed corresponding to any phase of httpRequest. For example, the