I only want some of the reverse proxy's to have an access list not all.
There is no way that I know of to have two different access lists for 2 different
reverse proxies in a single virtual host.
I really wish I could define a
proxyid = elog
path = /elog
strip = 1
target = http://127.0.0.01:8082/
timeout = 60
keepalive = yes
accesslist = deny 172.25.1.1/28, pwd 172.25.0.0/16, deny all
passwordfile = /protect/passwords
and then in the virtualhost use:
# configure for foswiki
UseToolkit = foswiki
Alias = /foswiki/bin:/tools/foswiki/bin
Alias = /foswiki/pub:/tools/foswiki/pub
Alias = /foswiki/robots.txt:/tools/foswiki/robots.txt
# configure for elog
UseToolkit = elog
use ReverseProxy elog
UseToolkit = fossil
usereverseproxy = roundup
... 30 other directives removed
similar to how directory stanzas are configured.
Joe Schmoe abut a year ago I tried to set up reverse proxy's by looping back into
hiawatha on different ports with different virtual hostnames. Hiawatha detected it
as an infinite loop and dropped connections.
See the 7 June 2015 post on: https://www.hiawatha-webserver.org/forum/topic/1967
Hugo does the use of the BindingId and RequiredBinding change the X-Hiawatha-RProxy-ID value
so that rproxy.c::rproxy_loop_detected() doesn't detect a loop when I proxy back through
a running hiawatha?
If so then that sounds like it would work. I just create a new
virtual host stanza with a binding of 127.0.0.1 and different ports. Then set the accesslist and passwordfile for the virtual host and use that host for exactly one reverse proxy.
Does that sounds like it would work?