Re: [webmin-l] Is it possible to calculate certain parameters when setting domains?

Andrey Repin <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
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.


-- 
With best regards,
Andrey Repin
Friday, June 3, 2016 23:49:23

Sorry for my terrible english...
------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.