|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2010
/
2010-05
/
Pound - Help Backends and URL-Path
[
http header 2048 bytes certificate truncated by ... ]
[
HTTPS Backend/Https Frontend / "Michael ... ]
Pound - Help Backends and URL-Path
pgeo(at)gmx.de |
2010-05-26 13:50:45 |
[ FULL ]
|
Hi All,
i´ve a little problem, and don´t know how to resolv ...
First:
i want Pound to loadbalance and reverse the content to 2 Backend-Servers.
There´s one virtual IP 192.168.1.1, the Backends are 192.168.1.2 and
192.168.1.3 with port 8080
Problem: the Backend-Servers needs an URL-Path -
e.g virtual IP 192.168.1.1 accept traffic on port 80
http://192.168.1.1
and should forwarded it to backend 1 and 2 - but with url-path /abc/def
http://192.168.1.2/abc/def
http://192.168.1.3/abc/def
Now Pound have to add /abc/def to the URL when forwarded it to the
Backends.
Her´s my pound-config - but it´s very small:
Does anybody have an idea or can help me?
Many thanks.
Regards,
Peter
## global options:
User "www-data"
Group "www-data"
#RootJail "/chroot/pound"
LogLevel 3
## check backend every X secs:
Alive 20
# poundctl control socket
Control "/var/run/pound/poundctl.socket"
##
ListenHTTP
Address 192.168.1.1
Port 80
xHTTP 1
End
Service
BackEnd
Address 192.168.1.2
Port 8080
End
BackEnd
Address 192.168.1.3
Port 8080
End
End
Session
Type IP
TTL 300
End
[...]
|
|
|
|
|
Re: [Pound Mailing List] Pound - Help Backends and URL-Path
manish deora <manish.deora(at)gmail.com> |
2010-05-26 14:42:18 |
[ FULL ]
|
The config should be like this:
ListenHTTP
Address 192.168.1.1
Port 80
xHTTP 0
Service
BackEnd
Address 192.168.1.2
Port 8080
End
BackEnd
Address 192.168.1.3
Port 8080
End
Session
Type IP
TTL 300
END
END
END
Thanks,
Manish Deora
On Wed, May 26, 2010 at 5:20 PM, <pgeo(at)gmx.de> wrote:
[...]
|
|
|
|
|
Re: [Pound Mailing List] Pound - Help Backends and URL-Path
pgeo(at)gmx.de |
2010-05-26 15:12:29 |
[ FULL ]
|
Thanks for that, but how can i teach pound, to add the url-path /abc/def
to the url´s of the backends?
-------- Original-Nachricht --------[...]
[...]
pound(at)apsis.ch.[...]
[...]
|
|
|
|
|
Re: [Pound Mailing List] Pound - Help Backends and URL-Path
Dave Steinberg <dave(at)redterror.net> |
2010-05-26 15:40:33 |
[ FULL ]
|
On 5/26/2010 9:12 AM, pgeo(at)gmx.de wrote:[...]
Not possible. Look in this list archives, this thread came up literally
1 or 2 before your post.
Regards,[...]
|
|
|
RE: [Pound Mailing List] Pound - Help Backends and URL-Path
"Jacob Anderson" <jwa(at)beyond-ordinary.com> |
2010-05-26 18:27:51 |
[ FULL ]
|
Hi,
You can only do this with a proxy rewrite, like mod_rewrite in Apache. Pound is
only a pass-through reverse proxy.
Either you do this on the front-end with Apache, or the back-end after Pound.
[...]
|
|
|
|