Bonjour à tous.

Après quelques jours de recherche, j'ai réussi à régler mon problème.

Pour information voici comment réaliser l'opération.

Dans la partie FrontEnd

J'ai ajouté les ACL suivantes:

ACL n°1
Name : Domaine1
Expression : Host matches
CS : no
Not : no
Value : test1.test.fr

ACL n°2
Name : Domaine2
Expression : Host matches
CS : no
Not : no
Value : test2.test.fr

ACL n°3
Name : SubPath
Expression : Path matches
CS : no
Not : no
Value : /

J'ai ajouté ensuite les Actions suivantes :

Action N°1
Action : Use Backend
Parameters : See below
Condition acl names : Domaine1
Backend : (nom de votre backend) ex : 192.168.1.1

Action N°2
Action : http-request set path
Parameters : See below
Condition acl names : Domaine1 Subpath
fmt : /test1

Action N°3
Action : Use Backend
Parameters : See below
Condition acl names : Domaine2
Backend : (nom de votre backend) ex : 192.168.1.1

Action N°4
Action : http-request set path
Parameters : See below
Condition acl names : Domaine1 Subpath
fmt : /test2

Bonne journée à tous.