Re: [webmin-l] Is it possible to calculate certain parameters when setting domains?
"Jamie Cameron" <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
On 03/Jun/2016 13:53 Andrey Repin <[email protected]> wrote .. > Greetings, Jamie Cameron! > > > On 03/Jun/2016 10:19 Andrey Repin <[email protected]> wrote .. > >> Greetings, All! > >> > >> I'm setting up a new hosting space with Virtualmin and I hit some roadblocks. > >> I decided to go the FCGI proxy route with PHP this time, and all works well > >> except one point. When setting the link, I've found that unix domain socket > >> proxy doesn't work for some reason. Works with TCP though, but the problem > >> arise to separate each host pools. I really don't want to complicate this by > >> out-of-place tracking the assigned addresses, so I though… Is it possible > to > >> calculate some numbers? Like "8000+UserID". > >> Or how to achieve this in a more transparent way, if anyone have suggestions? > > > Hi Andrey, > > > Is this something you want to use in the apache or nginx config template? > > Both Apache (for now, may switch to nginx later) and PHP FPM pool > configuration. > > > So rather than just a substitution, you want to be able to use an expression > > like ${UID + 8000} ? > > Something like that. Or, really, anything that works to provide useful value > with near-zero chance of clashing against other hosts on the same system. > I guess I could use a script to post-filter the config, but I though it is > worth asking first, if my problem was solved by someone already. I suppose you could use 5${UID}, which would be UID+5000 for 4-digit UIDs. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list