Variable visibility between 3rd party modules

bsfranks at bsfranks at
Tue Sep 30 15:47:52 UTC 2014

Hi Thierry,

On Tue, Sep 30, 2014 at 2:41 AM, MAGNIEN, Thierry <thierry.magnien at>

> Hi,
> In my own module, do I have a simple way to retrieve a variable which has
> been set by another module ?
> For example, GeoIP module sets the geoip_org variable. Is there a set of C
> functions that allow my module to retrieve this value ?
> Thanks a lot,
> Thierry

Check out the ngx_http_get_variable() function.  Hope this helps!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list