On Thu, Oct 15, 2020 at 2:51 AM Robin Kluth <kont...@kluthr.de> 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: (null) proxyport: 0, 
> referer: http://nextcloud.jki.intern/
> mod_proxy_fcgi.c(1002): [client 172.31.30.115:54624] AH01078: serving URL 
> fcgi://127.0.0.1:9005//opt/data/another, referer: http://nextcloud.jki.intern/
>
>
> (Even the "/path" from "/another/path" is truncated :O )
>
>
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] init 
> rewrite engine with requested uri /index.php, referer: 
> http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> applying pattern '\\.php$' to uri '/index.php', referer: 
> http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> rewrite '/index.php' -> '/another/path/.php', referer: 
> http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> remember /another/path/.php to have Content-handler 
> 'proxy:fcgi://127.0.0.1:9005/', referer: http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> local path result: /another/path/.php, referer: http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> prefixed with document_root to /opt/data/another/path/.php, referer: 
> http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> go-ahead with /opt/data/another/path/.php [OK], referer: 
> http://nextcloud.jki.intern/

Whoops, I think my rule needs the leading .* for $0 to work right

>
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> [perdir /opt/data/] add path info postfix: /opt/data/another -> 
> /opt/data/another/path/.php, referer: http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> [perdir /opt/data/] strip per-dir prefix: /opt/data/another/path/.php -> 
> another/path/.php, referer: http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> [perdir /opt/data/] applying pattern '^$' to uri 'another/path/.php', 
> referer: http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> [perdir /opt/data/] add path info postfix: /opt/data/another -> 
> /opt/data/another/path/.php, referer: http://nextcloud.jki.intern/
> mod_rewrite.c(482): [client 172.31.30.115:54624] 172.31.30.115 - - [...] 
> [perdir /opt/data/] strip per-dir prefix: /opt/data/another/path/.php -> 
> another/path/.php, referer: http://nextcloud.jki.intern/

You have rewrites in htaccess, <directory> or <location> possibly
interfering here?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to