inter module communication
Hello,
Is there an example of how to communicate between apache modules?
Any help would be appreciated.
thanks,
hash
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: inter module communication
10/03/10 hashim qaderi
>Is there an example of how to communicate between apache modules?
>Any help would be appreciated.
Hi.
The easy way is, communication via request_rec->notes. You have
to pay attention to the module/hook excution order, but you have
to do this anyway for your module to function properly.
Another way are request environment variables.
Or you could use optional functions, but that depends heavily
on what you are trying to achieve. Maybe with a litte more
detail, we could help you out better.
Regards,
Edgar
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: inter module communication
--00163628438c0e3190048187af51
Content-Type: text/plain; charset=ISO-8859-1
Hi Edgar,
I am trying to call a function from all modules into one module,
for example if i have the following modules,
A,B,C,D. and X
I want to be able to call a function in module X from A,B,C, and D.
your thoughts?
hash
On Thu, Mar 11, 2010 at 2:13 AM, Edgar Frank <ef-lists [at] email.de> wrote:
> 10/03/10 hashim qaderi
> >Is there an example of how to communicate between apache modules?
> >Any help would be appreciated.
>
> Hi.
>
> The easy way is, communication via request_rec->notes. You have
> to pay attention to the module/hook excution order, but you have
> to do this anyway for your module to function properly.
>
> Another way are request environment variables.
>
> Or you could use optional functions, but that depends heavily
> on what you are trying to achieve. Maybe with a litte more
> detail, we could help you out better.
>
> Regards,
> Edgar
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>
--00163628438c0e3190048187af51
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Hi Edgar,</div>
<div>=A0</div>
<div>I am trying to call a function from all modules into one module,</div>
<div>for example if i have the following modules,</div>
<div>A,B,C,D. and X</div>
<div>=A0</div>
<div>I want to be able to call a function in module X from A,B,C, and D.</d=
iv>
<div>your thoughts?</div>
<div>=A0</div>
<div>hash<br><br></div>
<div class=3D"gmail_quote">On Thu, Mar 11, 2010 at 2:13 AM, Edgar Frank <sp=
an dir=3D"ltr"><<a href=3D"mailto:ef-lists [at] email.de">ef-lists [at] email.de</=
a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">10/03/10 hashim qaderi<br>>Is=
there an example of how to communicate between apache modules?<br>>Any =
help would be appreciated.<br>
<br>Hi.<br><br>The easy way is, communication via request_rec->notes. Yo=
u have<br>to pay attention to the module/hook excution order, but you have<=
br>to do this anyway for your module to function properly.<br><br>Another w=
ay are request environment variables.<br>
<br>Or you could use optional functions, but that depends heavily<br>on wha=
t you are trying to achieve. Maybe with a litte more<br>detail, we could he=
lp you out better.<br><br>Regards,<br>Edgar<br><br>------------------------=
---------------------------------------------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D=
"_blank">http://httpd.apache.org/userslist.html</a>> for more info.<br>T=
o unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.org=
">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe [at] =
httpd.apache.org">users-digest-unsubscribe [at] httpd.apache.org</a><br>For addi=
tional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.org">use=
rs-help [at] httpd.apache.org</a><br>
<br></blockquote></div><br>
--00163628438c0e3190048187af51--
Re: inter module communication
On Thu, Mar 11, 2010 at 10:01 AM, snmp apache <snmp.apache [at] gmail.com> wrote:
> Hi Edgar,
>
> I am trying to call a function from all modules into one module,
> for example if i have the following modules,
> A,B,C,D. and X
>
> I want to be able to call a function in module X from A,B,C, and D.
> your thoughts?
See the optional functions various modules export/import in the base
server (mod_ldap, mod_ssl provide optional functions)
--
Eric Covener
covener [at] gmail.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: inter module communication
--0016363b8122a2878704818a2fee
Content-Type: text/plain; charset=ISO-8859-1
thanks, this looks promising, i will give it a try.
On Thu, Mar 11, 2010 at 10:47 AM, Eric Covener <covener [at] gmail.com> wrote:
> On Thu, Mar 11, 2010 at 10:01 AM, snmp apache <snmp.apache [at] gmail.com>
> wrote:
> > Hi Edgar,
> >
> > I am trying to call a function from all modules into one module,
> > for example if i have the following modules,
> > A,B,C,D. and X
> >
> > I want to be able to call a function in module X from A,B,C, and D.
> > your thoughts?
>
> See the optional functions various modules export/import in the base
> server (mod_ldap, mod_ssl provide optional functions)
>
> --
> Eric Covener
> covener [at] gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>
--0016363b8122a2878704818a2fee
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
thanks, this looks promising, i will give it a try.<br><br><div class=3D"gm=
ail_quote">On Thu, Mar 11, 2010 at 10:47 AM, Eric Covener <span dir=3D"ltr"=
><<a href=3D"mailto:covener [at] gmail.com">covener [at] gmail.com</a>></span> =
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class=3D"im"=
>On Thu, Mar 11, 2010 at 10:01 AM, snmp apache <<a href=3D"mailto:snmp.a=
pache [at] gmail.com">snmp.apache [at] gmail.com</a>> wrote:<br>
> Hi Edgar,<br>
><br>
> I am trying to call a function from all modules into one module,<br>
> for example if i have the following modules,<br>
> A,B,C,D. and X<br>
><br>
> I want to be able to call a function in module X from A,B,C, and D.<br=
>
> your thoughts?<br>
<br>
</div>See the optional functions various modules export/import in the base<=
br>
server (mod_ldap, mod_ssl provide optional functions)<br>
<font color=3D"#888888"><br>
--<br>
Eric Covener<br>
<a href=3D"mailto:covener [at] gmail.com">covener [at] gmail.com</a><br>
</font><div><div></div><div class=3D"h5"><br>
------------------------------------------------------------ ---------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D"_b=
lank">http://httpd.apache.org/userslist.html</a>> for more info.<br>
To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.or=
g">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe=
[at] httpd.apache.org">users-digest-unsubscribe [at] httpd.apache.org</a><br>
For additional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.=
org">users-help [at] httpd.apache.org</a><br>
<br>
</div></div></blockquote></div><br>
--0016363b8122a2878704818a2fee--