Re: write handler for apache http request

marco <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Il 17/05/2011 18.37, André Warnier ha scritto:
> marco wrote:
>> Hi all,
>> I want to write an handler in perl to manage the 
>> |PerlPostConfigHandler| 
>> <http://perl.apache.org/docs/2.0/user/handlers/server.html#toc_C_PerlPostConfigHandler_>, 
>> but i don't know how to do this.
>> Can someone help me?
>>
> So what is wrong with the example section of
> http://perl.apache.org/docs/2.0/user/handlers/server.html#C_PerlPostConfigHandler_ 
>
> ?
>
> Maybe your question was not phrased very well.
>
> What do you want to do/achieve with this ?
> Or what is the part you are missing ?
>
Sorry, I did explain not very well.
I tell you my problem. I want to write a simple perl handler that must 
be executed only in the post-read-request phase of http request cycle. 
So the module must be a PerlPostConfigHandler.
I never worked with this and I don't know how to start do this.
How can I load this module on apache?
How can I write this module if, for example, I want to "write a file" 
when this handler is invoked?

Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.