httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Janovsky <>
Subject responsehandler in C
Date Wed, 18 Aug 2010 15:05:12 GMT
i currently have a C module which maps the requested URL to its 
appropriate location(s) based upon internal logic and subsequently uses 
a subrequest(s) to retrieve the content.  problem is i need to set the 
"last-modified" response header based upon the content returned from the 
subrequest(s).  yesterday i asked this question on the "user support" mailing 
list and was told the content my subrequests were sending to the 
client triggered the response headers to be sent.  makes perfect sense as the 
content is being chunked to the client by apache.

my question - is it possible to write a responsehandler within C?  i'm assuming 
it is but i am only finding responsehandler examples in Perl.  am i going about 
this incorrect, is their a subrequest callback (or similiar) i can subscribe to 
in order to modify the response headers before the first bytes of data are 
chunked to the client?  your help is greatly appreciated.

thnx - peter

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