Re: [users@httpd] SetHandler proxy fcgi: Prevent adding the current document root

2020-10-15 Thread Eric Covener
On Thu, Oct 15, 2020 at 2:51 AM Robin Kluth wrote: > > I already tested a bit with rewrite bit my and your variant is not working. > If I set your variant the result is: > > > mod_proxy_fcgi.c(995): [client 172.31.30.115:54624] AH01076: url: > fcgi://127.0.0.1:9005//opt/data/another proxyname: (

Re: [users@httpd] SetHandler proxy fcgi: Prevent adding the current document root

2020-10-15 Thread Robin Kluth
I thought I fixed it with: ProxyFCGISetEnvIf true DOCUMENT_ROOT "/another/path" but this is applied as env var after examining the url for AH01078: serving URL.. serving URL fcgi://127.0.0.1:9005//opt/data/index.php, [...] fix_cgivars: override DOCUMENT_ROOT from '/opt/data/' to '/anoth

Re: [users@httpd] SetHandler proxy fcgi: Prevent adding the current document root

2020-10-14 Thread Robin Kluth
I already tested a bit with rewrite bit my and your variant is not working. If I set your variant the result is: mod_proxy_fcgi.c(995): [client 172.31.30.115:54624] AH01076: url: fcgi://127.0.0.1:9005//opt/data/another proxyname: (null) proxyport: 0, referer: http://nextcloud.jki.intern/ mod_pr

Re: [users@httpd] SetHandler proxy fcgi: Prevent adding the current document root

2020-10-14 Thread Eric Covener
On Wed, Oct 14, 2020 at 9:47 AM Robin Kluth wrote: > > Hi, > > > I have a short question to the Apache pro's ;) > > > I setup a vHost with Document pointing to /opt/data > > A PHP-FPM instance is set up inside a docker container. > > > SetHandler "proxy:fcgi://127.0.0.1:9005/" > > > So, Apache d

[users@httpd] SetHandler proxy fcgi: Prevent adding the current document root

2020-10-14 Thread Robin Kluth
Hi, I have a short question to the Apache pro's ;) I setup a vHost with Document pointing to /opt/data A PHP-FPM instance is set up inside a docker container. SetHandler "proxy:fcgi://127.0.0.1:9005/" So, Apache does the following now: I access the web page and Apache serves every non