I want to switch from a apache ReverseProxy to pound.
My problem is:
There are rules in my proxy.conf like:
ProxyPass /lalelu http://internale/NOT_Lalelu
Now in pound I couldn´t figure out how to "map" this.
I can only:
Service
URL "/lalelu"
Backend
Adress internal
Port
End
End
Am I wright, or is there a way to map a directory to the root or to another directory?
Thanks
Pound is really fast, stable, and simple. I found that BackEnd (proxy) and Redirect was all we needed. Pound's Redirect clause takes regular expressions.
The HTTP redirects are not the same as ProxyPass (because they do not hide the mapping from the user) but it will probably work for you too.
For your example it would be:
Here are some other examples that we use:
or
The advantage of using Apache is that you get excellent URL (and content) rewriting capabilities.
If you're moving away from
mod_proxy
for performance reasons, you may want to look at Varnish, although Varnish by itself doesn't do SSL (a typical solution uses stunnel, Pound, or Apache to provide the SSL services). Varnish can perform arbitrary regular-expression based rewriting on URLs (and also has load-balancing features).