On Fri, 1 Feb 2019 11:15:46 -0500
Andrew Piskorski <a...@piskorski.com> wrote:

> since I'm not using virtual servers anyway, how do I say 
> "all of them, process-wide"?

You can't. The nsv buckets are stored on per-server basis. 
Naviserver may run a number of virtual servers. You declare
all this in the configuration file. 
See "ns/servers" part in your configuration file. 

It is your module that, when loaded in the Naviserver,
gets the name of the current server it is loaded into.

To be loaded as extension, your code needs to provide
Ns_ModuleInit() call that gets called by the module
loader when a virtual server is getting initialized.

The system passes the name of the server and name of
the module to your Ns_ModuleInt(). You need to store
it somewhere for later use. 

HTH,
ZOran



_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to