Re: [jetty-users] Configuring Jetty for FastCGI - and pass env. vars to PHP scripts

2020-04-02 Thread Alexander Farber
Yes, Simone, I will try to test it, but that will take me few days :-) On Wed, Apr 1, 2020 at 3:03 PM Simone Bordet wrote: > > Implementing #4375 was trivial and I tested it. > Would you be able to test it on your configuration by building Jetty > yourself? > >

Re: [jetty-users] Configuring Jetty for FastCGI - and pass env. vars to PHP scripts

2020-04-01 Thread Simone Bordet
Hi, On Wed, Apr 1, 2020 at 11:59 AM Alexander Farber wrote: > Thank you - I have created > https://github.com/eclipse/jetty.project/issues/4735 > > Your suggestion for creating a custom FarberFCGIServlet - is it to set > $_SERVER['COUNTRY'] inside the PHP scripts? Correct. The

Re: [jetty-users] Configuring Jetty for FastCGI - and pass env. vars to PHP scripts

2020-04-01 Thread Alexander Farber
Hello Simone - On Tue, Mar 31, 2020 at 11:51 PM Simone Bordet wrote: > What you can do right now is to override this: > > class FarberFCGIServlet extends FastCGIProxyServlet { > protected void customizeFastCGIHeaders(Request proxyRequest, > HttpFields fastCGIHeaders) { >

Re: [jetty-users] Configuring Jetty for FastCGI - and pass env. vars to PHP scripts

2020-03-31 Thread Simone Bordet
Hi, On Tue, Mar 31, 2020 at 9:34 PM Alexander Farber wrote: > The above stuff works well, but now I am also trying to pass some > configuration information to the few PHP scripts I am also running - and > unfortunately this does not work - when I print($_ENV['COUNTRY'); in the PHP > scripts,

[jetty-users] Configuring Jetty for FastCGI - and pass env. vars to PHP scripts

2020-03-31 Thread Alexander Farber
Hello and good evening, on a CentOS Linux server I run 3 instances of Jetty on 3 different IP addresses, serving a servlet and Wordpress in 3 different languages: English, German, Russian. The Wordpress installations are configured exactly as described at