> On Aug 12, 2016, at 2:20 PM, Sergio Belkin <[email protected]> wrote: > > Hi, > > I'm using the CGI program upsstats.cgi to view the status of UPS's on a web > browser. > > > I'd want to do something like that: > > /var/www/nut-cgi-bin-group-A/upsstats.cgi > /var/www/nut-cgi-bin-group-B/upsstats.cgi > /var/www/nut-cgi-bin-group-C/upsstats.cgi
I haven't tried this, but can you create separate configuration directories for each of the groups, and have your web server set the NUT_CONFPATH environment variable for each? You could also wrap upsstats.cgi in a script which does the same thing. _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

