httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wortham" <>
Subject Re: Sending information to the user in input modules.
Date Tue, 05 Jun 2007 19:35:33 GMT
   It would be helpful if you could describe what kind of message you want
the user to receive.  Will it be HTML or an HTTP header injected into the
HTTP response?

For basics on Apache (in|out)put filters, these tutorials are good first
There should be a minimal example filter for you to analyze.
This reading might help you evaluate if an input filter is the best way to
approach your module.  Have you considered just adding another output filter
to mod_clamav that runs after mod_clamav does the bulk of its processing?

Also, if you don't know quite how and when Apache actually handles module
and filter processing in relation to its many other tasks, the Apache
modeling project is always a nice reference:

It's been a while since I've done Apache filters, but I remember that almost
all (in|out)put content processing is done with apr_bucket_brigades.  You
should have ap_f* functions at your disposal to help with adding output to
bucket brigades.


On 6/5/07, Avramenko Andrew <> wrote:
> Hi,
> I'm new to writing apache modules, so please excuse me if my question is
> very easy :)
> I'm modifying mod_clamav module so it will work as input filter, not
> output as in this time. It find virus without problems but how can it
> send a message to user about that? There is no ap_f* functions. What can
> I do?
> Thank you.
> --
> WBR, Andrew

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message