acf login/logout redirection does not work on reverse proxy configuration
I want to call several alpine linux docker containers from
an apache 2.4(!) reverse proxy front end
Therefore I need some prefixed path to confine each box in
it’s boundary.
...
<Location /base/>
ProxyPass https://127.0.0.1:443
ProxyPassReverse https://127.0.0.1:443
Substitute "s|/cgi-bin|/base/cgi-bin|n"
Substitute "s|/skins|/base/skins|n"
Substitute "s|/js|/base/js|n"
SetOutputFilter INFLATE;SUBSTITUTE;DEFLATE;
RequestHeader unset Accept-Encoding
</Location>
...
It works partially with mod_substitute (only Apache 2.4.x or later)
One problem persist in the logon-controller.lua there is
an absolute redirection that prevents to prefix /base/ at
login/logout
Can this be rewritten to support proxied configurations
using relative path or better with a configure prefix in acf.conf?
(from redmine: issue id 4890, created on 2015-11-21, closed on 2016-07-26)
- Uploads:
- acf-debug-original.log This is the one with no patched acf_www-controller.lua
- acf-debug-modified.log This is the one I patched earlier with .. "/base" ... in acf_www-controller.lua
- 000-default.conf Apache 2.4.16 config file for SSL virtualhost with proxied alpine linux boxes