Apache proxies to a PSGI application using HTTP::Server::PSGI.
apache conf file:
<Proxy balancer://my_cluster>
BalancerMember http://127.0.0.1:3001
BalancerMember http://127.0.0.1:3002
BalancerMember http://127.0.0.1:3003
</Proxy>
ProxyPreserveHost On
ProxyPass /dispatch/ balancer://my_cluster/
The url is going to be: http://foo.com/dispatch/main
after calling $self->query->self_url() I get: http://foo.com/main
/dispatch is cut out every time. I'm not sure what layer is cutting it out or how to get it back.