Re: [users@httpd] More info about proxypassmatch and fpm mode

2016-12-14 Thread Eric Covener
On Wed, Dec 14, 2016 at 5:37 PM, Jason Brooks wrote: > > 1) the “/path/to/your/documentroot” is effectively the path used to find > the php script then run it. but substituting %{DOCUMENT_ROOT} does not > work. Is there a means of making this happen? > > ​You could indirectly use what the manua

[users@httpd] More info about proxypassmatch and fpm mode

2016-12-14 Thread Jason Brooks
Hello, I am using the following with apache 2.4 with php in fpm mode: ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/path/to/your/documentroot/$1 DirectoryIndex /index.php index.php This works just fine, but I wanted to ask some questions: 1) the “/path/to/your/documentroot” is effect

Re: [users@httpd] mod_proxy_balancer and multiple (dynamic) backends?

2016-12-14 Thread Jim Jagielski
I think that balancer-manager is exactly what you are looking for. http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html#manager Cheers! > On Dec 14, 2016, at 4:57 AM, Kristian Rink wrote: > > Folks; > > unsure whether this is the right place to ask and whether this is possible to > be

[users@httpd] mod_proxy_balancer and multiple (dynamic) backends?

2016-12-14 Thread Kristian Rink
Folks; unsure whether this is the right place to ask and whether this is possible to be accomplished out of the box at all: So far we run an apache 2.4 mod_proxy balancer in front of several backend services. So far there are four backend instances configured into one balancer. This works prett