Re: [users@httpd] mod_rewrite + proxy + unix socket results in 400 bad request

2017-09-05 Thread Daniel
IIRC it was by design yes, but I don't know the reasons behind it, perhaps the dev mailing list or some developers reading this can provide more information. You could also try #httpd-dev at Freenode. I think you could reach your goals without using captured groups though, I see in the initial vir

Re: [users@httpd] mod_rewrite + proxy + unix socket results in 400 bad request

2017-09-04 Thread David Mugnai
Excerpts from Daniel's message of settembre 1, 2017 9:57 : AFAIK you can't use variables of captured groups when using sockets, but I don't have an answer to why. To check If I'm correct you could try using a tcp port instead of socket. You are right, switching the test environment to tcp works

Re: [users@httpd] mod_rewrite + proxy + unix socket results in 400 bad request

2017-09-01 Thread Daniel
AFAIK you can't use variables of captured groups when using sockets, but I don't have an answer to why. To check If I'm correct you could try using a tcp port instead of socket. 2017-08-31 18:06 GMT+02:00 David Mugnai : > Excerpts from Luca Toscano's message of agosto 31, 2017 1:55 : > >> Hi David

Re: [users@httpd] mod_rewrite + proxy + unix socket results in 400 bad request

2017-08-31 Thread David Mugnai
Excerpts from Luca Toscano's message of agosto 31, 2017 1:55 : Hi David, 2017-08-29 17:41 GMT+02:00 David Mugnai : Hi, I'm trying to configure a virtual host that, based on the host name, forwards the request on a backend server listening on an unix socket. My apache version is 2.4.18 as shi

Re: [users@httpd] mod_rewrite + proxy + unix socket results in 400 bad request

2017-08-31 Thread Luca Toscano
Hi David, 2017-08-29 17:41 GMT+02:00 David Mugnai : > Hi, > > I'm trying to configure a virtual host that, based on the host name, > forwards the request on a backend server listening on an unix socket. > > My apache version is 2.4.18 as shipped by Ubuntu 16.04 > > The configuration I've tried so

[users@httpd] mod_rewrite + proxy + unix socket results in 400 bad request

2017-08-29 Thread David Mugnai
Hi, I'm trying to configure a virtual host that, based on the host name, forwards the request on a backend server listening on an unix socket. My apache version is 2.4.18 as shipped by Ubuntu 16.04 The configuration I've tried so far is: ServerAdmin webmaster@localhost DocumentR