Is it possible to invoke third party Apache module functions from mod_perl

--20cf3054ac8713a2c4049b154a0d
Content-Type: text/plain; charset=ISO-8859-1

I have a Apache module mod_xyz , is there is anyway i can invoke some
functions defined mod_xyz from mod_perl ?

--
--Shibi Ns--

--20cf3054ac8713a2c4049b154a0d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have a Apache module mod_xyz , is there is anyway i can invoke some funct=
ions defined mod_xyz=A0 from mod_perl ?<br clear=3D"all"><br>-- <br>--Shibi=
Ns--<br>

--20cf3054ac8713a2c4049b154a0d--
Shibi NS [ So, 30 Januar 2011 20:27 ] [ ID #2054096 ]

Re: Is it possible to invoke third party Apache module functions from mod_perl

On Sunday, January 30, 2011 20:27:26 Shibi NS wrote:
> I have a Apache module mod_xyz , is there is anyway i can invoke some
> functions defined mod_xyz from mod_perl ?

it depends.

Apache2::ModSSL calls for example a few functions from mod_ssl. Problem is =
a
module can be loaded but can also be omitted by the admin. Apache has an
optional function interface to import functions from another module. The
following is part of ModSSL.xs. It imports mod_ssl's ssl_is_https() etc.

static void
retrieve_functions(void)
{
if( is_initialized ) return;
is_initialized++;
is_https=3DAPR_RETRIEVE_OPTIONAL_FN(ssl_is_https);
lookup=3DAPR_RETRIEVE_OPTIONAL_FN(ssl_var_lookup);
ext_lookup=3DAPR_RETRIEVE_OPTIONAL_FN(ssl_ext_lookup);
}

On the other hand, maybe you have something else in mind, something higher=

level?

Torsten Förtsch

=2D-
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
torsten.foertsch [ So, 30 Januar 2011 20:42 ] [ ID #2054097 ]
Webserver » gmane.comp.apache.mod-perl » Is it possible to invoke third party Apache module functions from mod_perl

Vorheriges Thema: failure to build Apache2::Request
Nächstes Thema: [QUESTION] Some tests fail on Debian