Mark, pasted from the official doc:

Add service. This field is used to add a new service through the same
virtual IP and port, which specify how the requests from the clients are
managed and delivered. It’s mandatory to insert at least one service in
order to add backends to it. Once the services are inserted, the HTTP farm
core will parse every service conditions in order to match the
correspondant service in each client request. Those services conditions
could be determined by URL patterns, specific headers or redirection and
allows to identify several web services in through the same farm.
Additionally, each service provide their own backends servers.


HTTP EDIT SERVICE AND REAL SERVERS

The services within a HTTP farm provides a content switching method to
deliver several web services with different properties, backends or even
persistence methods, through some deterministic conditions used by the farm
core in order to match the correct service for every client request. This
service definition will be used by the farm in order to determine the
backends servers that could deliver the response to the client.

Every service will be tried by the HTTP farm core in priority mode and if
none service is matched then the farm core will return an error. For this
reason specific multiple service definitions are allowed. If no URL is
defined then every request will match.



So, regarding your question, yes the services are managed  in sequential
mode. If not clear please let us know for changing the doc.

Regards



2014-12-18 11:03 GMT+01:00 Mark Catterall <markcatter...@fitnessfirst.com>:
>
>  Hi Guys
>
>
> We sorted it last night by creating a separate service for each of the CMS
> redirects that had no vHost just a pattern and a redirect URL, we then
> changed the order of the services so the redirects to HTTPS for the CMS
> happen before services for the actual server farms are processed. This is
> now working as desired.
>
> Am I correct in thinking Zen processes services in order?
>
>
> Thanks to Alex and Emilio for all your help.
>
> Thanks
>
> Mark
>
>
> -----Original Message-----
> From: Gruber Alexander [mailto:alexander.gru...@az-druck.de
> <alexander.gru...@az-druck.de>]
> Sent: Thu 18/12/2014 09:08
> To: zenloadbalancer-support@lists.sourceforge.net
> Subject: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
> I think your config has too many redirects!
>
>
>
> 1. Request: http://uat.fitnessfirst.com.hk/cms <
> http://uat.fitnessfirst.com.hk/cms>  Redirect:
> https://uat.fitnessfirst.com.hk/cms <https://uat.fitnessfirst.com.hk/cms>
>
> 2. Request: http://uat.fitnessfirst.com.hk/cms/cms <
> http://uat.fitnessfirst.com.hk/cms/cms>  Redirect:
> https://uat.fitnessfirst.com.hk/cms/cms/cms <
> https://uat.fitnessfirst.com.hk/cms/cms/cms>
>
> 2. Request: http://uat.fitnessfirst.com.hk/cms/cms/cms <
> http://uat.fitnessfirst.com.hk/cms/cms/cms>  Redirect:
> https://uat.fitnessfirst.com.hk/cms/cms/cms/cms <
> https://uat.fitnessfirst.com.hk/cms/cms/cms/cms>
>
> 3. .
>
>
>
>
>
> Delete the /cms at the redirect option.
>
>
>
>
>
>
>
> By
>
> Alex
>
>
>
>
>
>
>
> Von: Emilio Campos [mailto:emilio.campos.mar...@gmail.com
> <emilio.campos.mar...@gmail.com>]
> Gesendet: Donnerstag, 18. Dezember 2014 09:42
> An: zenloadbalancer-support@lists.sourceforge.net
> Betreff: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> If you want to configure a redirect in the service with name
> "uat.finessfirst.comhk", try with a url pattern like this:
>
>
>
> ^/cms
>
>
>
> or
>
>
>
> ^/cms.*
>
>
>
> And disable Persistence, disable farmguardian and delete backends.
>
>
>
> Regards!
>
>
>
> 2014-12-17 17:40 GMT+01:00 Mark Catterall <markcatter...@fitnessfirst.com
> >:
>
> For the services yes
>
>
>
> I have attached jpeg that should be zoomable J
>
>
>
> Mark Catterall
> Infrastructure Production Management Analyst
>
>
> T: 01202 845552
>
> Email: markcatter...@fitnessfirst.com <mailto:caracr...@fitnessfirst.com
> <caracr...@fitnessfirst.com>>
>
> Follow Us: @FitnessFirstUK
>
>
>
> From: Gruber Alexander [mailto:alexander.gru...@az-druck.de
> <alexander.gru...@az-druck.de>]
> Sent: 17 December 2014 16:12
>
>
> To: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Subject: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> Same Virtual Host?
>
> The quality of the screenshot is a little bit poor
>
>
>
> Von: Mark Catterall [mailto:markcatter...@fitnessfirst.com
> <markcatter...@fitnessfirst.com>]
> Gesendet: Mittwoch, 17. Dezember 2014 17:10
> An: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Betreff: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> This is our HTTP Farm the HTTPS one is virtually identical
>
>
>
>
>
>
>
>
>
>
>
> Mark Catterall
> Infrastructure Production Management Analyst
>
>
> T: 01202 845552
>
> Email: markcatter...@fitnessfirst.com <mailto:caracr...@fitnessfirst.com
> <caracr...@fitnessfirst.com>>
>
> Follow Us: @FitnessFirstUK
>
>
>
> From: Emilio Campos [mailto:emilio.campos.mar...@gmail.com
> <emilio.campos.mar...@gmail.com>]
> Sent: 17 December 2014 16:01
> To: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Subject: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> Paste a screenshot of your entire configuration please
>
>
>
> Regards
>
>
>
> 2014-12-17 16:55 GMT+01:00 Mark Catterall <markcatter...@fitnessfirst.com
> >:
>
> Here is our config for one of the services, it has 3 other services for
> other websites. This is the one we are testing the HTTPS redirection for
> the CMS, the others are identical apart from different virtual hosts ad
> FarmGaurdian settings
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Mark Catterall
> Infrastructure Production Management Analyst
>
>
> T: 01202 845552
>
> Email: markcatter...@fitnessfirst.com <mailto:caracr...@fitnessfirst.com
> <caracr...@fitnessfirst.com>>
>
> Follow Us: @FitnessFirstUK
>
>
>
> From: Gruber Alexander [mailto:alexander.gru...@az-druck.de
> <alexander.gru...@az-druck.de>]
> Sent: 17 December 2014 15:30
>
>
> To: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Subject: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> I made a test at our system and it works fine.
>
>
>
> -          Can you post a screenshot of your Configuration
>
> -          One or more services defined?
>
>
>
>
>
> Von: Mark Catterall [mailto:markcatter...@fitnessfirst.com
> <markcatter...@fitnessfirst.com>]
> Gesendet: Mittwoch, 17. Dezember 2014 16:07
> An: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Betreff: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> Hi Alex
>
>
>
> If I use that configuration the load balancer generates a 503 error
>
>
>
> Changing it to a regular expression does then same..
>
>
>
>
>
> Thanks
>
>
>
> Mark
>
>
>
> Mark Catterall
> Infrastructure Production Management Analyst
>
>
> T: 01202 845552
>
> Email: markcatter...@fitnessfirst.com <mailto:caracr...@fitnessfirst.com
> <caracr...@fitnessfirst.com>>
>
> Follow Us: @FitnessFirstUK
>
>
>
> From: Gruber Alexander [mailto:alexander.gru...@az-druck.de
> <alexander.gru...@az-druck.de>]
> Sent: 17 December 2014 14:20
> To: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Subject: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> Oh, use this configuration J
>
>
>
>
>
>
>
>
>
>
>
> Mit freundlichen Grüßen aus dem Allgäu
>
> Alexander Gruber
> IT-Koordinator
>
>
>
> AZ Druck und Datentechnik GmbH
> Heisinger Straße 16
> 87437 Kempten
> Tel.+49 831 206-158 <tel:%2B49%20831%20206-158>
> Fax +49 831 206-58158 <tel:%2B49%20831%20206-58158>
> alexander.gru...@az-druck.de
> www.az-druck.de
>
>  <http://www.facebook.de/azdruda>
>
> Geschäftsführer Günther Hartmann | Sitz der Gesellschaft Kempten (Allgäu)
> Registergericht Amtsgericht Kempten | HR Abteilung B 3205 | Steuer-Nr.
> 127/115/00764
> Ust.-Id.-Nr. DE 812335157 | IBAN: DE98 7335 0000 0000 0433 31 | SWIFT-BIC:
> BYLADEM1ALG
>
> Von: Mark Catterall [mailto:markcatter...@fitnessfirst.com
> <markcatter...@fitnessfirst.com>]
> Gesendet: Mittwoch, 17. Dezember 2014 13:38
> An: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Betreff: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> Hi Alex
>
>
>
> Thanks for that, but we want to redirect only our content management URLS
> to HTTPS not the whole site.
>
>
>
> Thanks
>
>
>
> Mark
>
>
>
> Mark Catterall
> Infrastructure Production Management Analyst
>
>
> T: 01202 845552
>
> Email: markcatter...@fitnessfirst.com <mailto:caracr...@fitnessfirst.com
> <caracr...@fitnessfirst.com>>
>
> Follow Us: @FitnessFirstUK
>
>
>
> From: Gruber Alexander [mailto:alexander.gru...@az-druck.de
> <alexander.gru...@az-druck.de>]
> Sent: 17 December 2014 12:04
> To: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Subject: Re: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> Hi Mark,
>
>
>
> http to https redirect:
>
>
>
>
>
> Regards
>
> Alex
>
>
>
>
>
> Mit freundlichen Grüßen aus dem Allgäu
>
> Alexander Gruber
> IT-Koordinator
>
>
>
> AZ Druck und Datentechnik GmbH
> Heisinger Straße 16
> 87437 Kempten
> Tel.+49 831 206-158 <tel:%2B49%20831%20206-158>
> Fax +49 831 206-58158 <tel:%2B49%20831%20206-58158>
> alexander.gru...@az-druck.de
> www.az-druck.de
>
>  <http://www.facebook.de/azdruda>
>
> Geschäftsführer Günther Hartmann | Sitz der Gesellschaft Kempten (Allgäu)
> Registergericht Amtsgericht Kempten | HR Abteilung B 3205 | Steuer-Nr.
> 127/115/00764
> Ust.-Id.-Nr. DE 812335157 | IBAN: DE98 7335 0000 0000 0433 31 | SWIFT-BIC:
> BYLADEM1ALG
>
> Von: Mark Catterall [mailto:markcatter...@fitnessfirst.com
> <markcatter...@fitnessfirst.com>]
> Gesendet: Mittwoch, 17. Dezember 2014 12:33
> An: zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
> Cc: Neil Gardener
> Betreff: [Zenloadbalancer-support] Redirect to HTTPS
>
>
>
> Hi Guys
>
>
>
> The loadbalancer is working fine now, apart from https redirects for our
> CMS.  We would like all of our CMS traffic to redirect to https
>
>
>
> Current config is:
>
>
>
> 2 Farms (one for HTTP and one for HTTPS) with 5 services in each farm (one
> for each website) we want calls to  http for www.xyz.com/cms to redirect
> to https://www.xyz.com/cms
>
>
>
> Currently we have a URL pattern of /cms* but this isn't working calls to
> HTTP do not get redirected.
>
>
>
> Any help would be appreciated.
>
>
>
> Thanks
>
>
>
> Mark
>
>
>
> Mark Catterall
> Infrastructure Production Management Analyst
>
>
> T: 01202 845552
>
> Email: markcatter...@fitnessfirst.com <
> mailto:markcatter...@fitnessfirst.com <markcatter...@fitnessfirst.com>>
>
> Follow Us: @FitnessFirstUK
>
>
>
>
>
>
>
>
> **********************************************************************
>                                 Disclaimer
>
> This email transmission is confidential and intended solely for the person
> or organisation to whom it is addressed. If you are not the intended
> recipient,
> you must not copy, distribute or disseminate the information, or take any
> action
> in reliance of it. Any views expressed in this message are those of the
> individual
> sender, except where the sender specifically states them to be the views
> of any
> organisation or employer. If you have received this message in error, do
> not open
> any attachment but please notify the sender (above) deleting this message
> from
> your system. Please rely on your own virus check no responsibility is
> taken by
> the sender for any damage rising out of any bug or virus infection.
> Fitness First Clubs Ltd is a company registered in England
> with company number 3207791. Registered Office is 58, Fleets Lane, Poole
> BH15 3BT.
>
> **********************************************************************
>
>
>
>
> **********************************************************************
>                                 Disclaimer
>
> This email transmission is confidential and intended solely for the person
> or organisation to whom it is addressed. If you are not the intended
> recipient,
> you must not copy, distribute or disseminate the information, or take any
> action
> in reliance of it. Any views expressed in this message are those of the
> individual
> sender, except where the sender specifically states them to be the views
> of any
> organisation or employer. If you have received this message in error, do
> not open
> any attachment but please notify the sender (above) deleting this message
> from
> your system. Please rely on your own virus check no responsibility is
> taken by
> the sender for any damage rising out of any bug or virus infection.
> Fitness First Clubs Ltd is a company registered in England
> with company number 3207791. Registered Office is 58, Fleets Lane, Poole
> BH15 3BT.
>
> **********************************************************************
>
>
>
>
> **********************************************************************
>                                 Disclaimer
>
> This email transmission is confidential and intended solely for the person
> or organisation to whom it is addressed. If you are not the intended
> recipient,
> you must not copy, distribute or disseminate the information, or take any
> action
> in reliance of it. Any views expressed in this message are those of the
> individual
> sender, except where the sender specifically states them to be the views
> of any
> organisation or employer. If you have received this message in error, do
> not open
> any attachment but please notify the sender (above) deleting this message
> from
> your system. Please rely on your own virus check no responsibility is
> taken by
> the sender for any damage rising out of any bug or virus infection.
> Fitness First Clubs Ltd is a company registered in England
> with company number 3207791. Registered Office is 58, Fleets Lane, Poole
> BH15 3BT.
>
> **********************************************************************
>
>
>
>
> **********************************************************************
>                                 Disclaimer
>
> This email transmission is confidential and intended solely for the person
> or organisation to whom it is addressed. If you are not the intended
> recipient,
> you must not copy, distribute or disseminate the information, or take any
> action
> in reliance of it. Any views expressed in this message are those of the
> individual
> sender, except where the sender specifically states them to be the views
> of any
> organisation or employer. If you have received this message in error, do
> not open
> any attachment but please notify the sender (above) deleting this message
> from
> your system. Please rely on your own virus check no responsibility is
> taken by
> the sender for any damage rising out of any bug or virus infection.
> Fitness First Clubs Ltd is a company registered in England
> with company number 3207791. Registered Office is 58, Fleets Lane, Poole
> BH15 3BT.
>
> **********************************************************************
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
>
>
>
>
> --
>
> Load balancer distribution - Open Source Project
> http://www.zenloadbalancer.com
> Distribution list (subscribe):
> zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
>
>
> **********************************************************************
>                                 Disclaimer
>
> This email transmission is confidential and intended solely for the person
> or organisation to whom it is addressed. If you are not the intended
> recipient,
> you must not copy, distribute or disseminate the information, or take any
> action
> in reliance of it. Any views expressed in this message are those of the
> individual
> sender, except where the sender specifically states them to be the views
> of any
> organisation or employer. If you have received this message in error, do
> not open
> any attachment but please notify the sender (above) deleting this message
> from
> your system. Please rely on your own virus check no responsibility is
> taken by
> the sender for any damage rising out of any bug or virus infection.
> Fitness First Clubs Ltd is a company registered in England
> with company number 3207791. Registered Office is 58, Fleets Lane, Poole
> BH15 3BT.
>
> **********************************************************************
>
>
>
>
> **********************************************************************
>                                 Disclaimer
>
> This email transmission is confidential and intended solely for the person
> or organisation to whom it is addressed. If you are not the intended
> recipient,
> you must not copy, distribute or disseminate the information, or take any
> action
> in reliance of it. Any views expressed in this message are those of the
> individual
> sender, except where the sender specifically states them to be the views
> of any
> organisation or employer. If you have received this message in error, do
> not open
> any attachment but please notify the sender (above) deleting this message
> from
> your system. Please rely on your own virus check no responsibility is
> taken by
> the sender for any damage rising out of any bug or virus infection.
> Fitness First Clubs Ltd is a company registered in England
> with company number 3207791. Registered Office is 58, Fleets Lane, Poole
> BH15 3BT.
>
> **********************************************************************
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
>
>
>
>
> --
>
> Load balancer distribution - Open Source Project
> http://www.zenloadbalancer.com
> Distribution list (subscribe):
> zenloadbalancer-support@lists.sourceforge.net <
> mailto:zenloadbalancer-support@lists.sourceforge.net
> <zenloadbalancer-support@lists.sourceforge.net>>
>
>
>   **********************************************************************
>                                 Disclaimer
>
> This email transmission is confidential and intended solely for the person
> or organisation to whom it is addressed. If you are not the intended 
> recipient,
> you must not copy, distribute or disseminate the information, or take any 
> action
> in reliance of it. Any views expressed in this message are those of the 
> individual
> sender, except where the sender specifically states them to be the views of 
> any
> organisation or employer. If you have received this message in error, do not 
> open
> any attachment but please notify the sender (above) deleting this message from
> your system. Please rely on your own virus check no responsibility is taken by
> the sender for any damage rising out of any bug or virus infection.
> Fitness First Clubs Ltd is a company registered in England
> with company number 3207791. Registered Office is 58, Fleets Lane, Poole BH15 
> 3BT.
>
> **********************************************************************
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>

-- 
Load balancer distribution - Open Source Project
http://www.zenloadbalancer.com
Distribution list (subscribe): zenloadbalancer-support@lists.sourceforge.net
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to