/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-02 / problems with Pound 2.0

[ << ] [ >> ]

[ Pound now available as solaris pkg / alessio ... ] [ small patch proposal for Makefile / alessio ... ]

problems with Pound 2.0
alessio <a.cervellin(at)virgilio.it>
2006-02-07 16:13:58 [ FULL ]
Hello again, 
I'm forwarding you this email I  just received from a 
Pound 1.9-solaris user who now upgraded to pound 2.0, but he is having 
these problems... any clue?


***********
Pound 2.0 does work in basic 
form but not
doing what I want. It worked on the previous version so I 
assume
that what I am doing is possible.

I have 3 different types of 
server, this is my development machine
and the real one isn't this 
loaded.

Each sever is set to use a different port and responds to a 
different
virtual host name. The proxy pass is based on the host name 
and it
should pass out to the required server.

ListenHTTP
Address 
192.168.2.3
Port 80
# map everything for hostone to port 8000
Service
URL ".*"
HeadRequire "Host:.*hostone"
BackEnd
Address 192.168.2.3
Port 
8000
End
End
# map everything for hosttwo to port 9000
Service
URL ".*"
HeadRequire "Host:.*hosttwo"
BackEnd
Address 192.168.2.3
Port 9000
End
End
# everything else to 8080
Service
BackEnd
Address 192.168.2.3
Port 
8080
End
End
End


but this does not work.

***********

Re: [Pound Mailing List] problems with Pound 2.0
Robert Segall <roseg(at)apsis.ch>
2006-02-08 12:14:07 [ FULL ]
On Tue, 2006-02-07 at 16:13 +0100, alessio wrote:[...]

This is the default - no need to put it here.
[...]

Try HeadRequire "Host:.*hostone.*" instead.

...snip...
[...]

Surely you can do better than that?[...]

MailBoxer