I've been playing around with a similar configuration here and it seems
to work the way I want it to.

Basically, I set up a bunch of different services that match on
different extensions.

I believe the first match in the config is what gets used.

So, if you have a service (listed first) that looks for the host
parameter it should trigger that service first.  I believe this is how
it works, at least it seems to behave that way.  Can anyone confirm that
the first match is what gets used?

Thanks.

--Alfonso



-----Original Message-----
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 3:36 AM
To: [email protected]
Subject: [Pound Mailing List] reading request parameters

Hi!

I've been running pound to do simple load balancing/failover between 3
machines using round robin and session tracking via cookies. Now I have
new need. I need to be able to send an additional request parameter (ie
myPage.php?host=host_1) and have pound direct me to host_1 instead of
the one in the session (or instead of the next one in the case of no
cookie).

Is that possible using pound?

Psedo code:
if host_parameter
  use host_parameter
else if session cookie
  use session cookie
else
  use default / round robin

Thanks

--
Read my blog @ http://www.raven.nu/blog


--
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.

--
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.



--
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.

Reply via email to