Can I somehow call ap_make_content_type

2012-04-29 Thread Joachim Zobel
Hi. Is it possible to access a function (ap_make_content_type) that is only present in xs/tables/current/Apache2/FunctionTable.pm and xs/maps/apache2_functions.map but not wrapped any further? Writing a little piece of XS is doable, but I want to do it the mod_perl way. Thx, Joachim

Re: Can I somehow call ap_make_content_type

2012-04-29 Thread Torsten Förtsch
On Sunday, 29 April 2012 10:45:41 Joachim Zobel wrote: > Is it possible to access a function (ap_make_content_type) that is only > present in xs/tables/current/Apache2/FunctionTable.pm and > xs/maps/apache2_functions.map but not wrapped any further? !MODULE=Apache2::HTTPCore >ap_process_request >a

Re: Can I somehow call ap_make_content_type

2012-04-29 Thread Joachim Zobel
Am Sonntag, den 29.04.2012, 14:31 +0200 schrieb Torsten Förtsch: > It should be enough to change that to > > MODULE=Apache2::HTTPCore PACKAGE=Apache2::RequestRec > >ap_process_request > ap_make_content_type > >ap_core_reorder_directories > >ap_index_of_response Unfortunately changing mod_perl

Re: Can I somehow call ap_make_content_type

2012-04-29 Thread Joachim Zobel
Hi. It should be possible to add the generated HTTPCore.xs to my module and that is it, right? Thx, Joachim