Hello,
i have already swapped the two lines.
It works.
But we have to pay attention setting up multiple subdomains.
regards
Bernhard
----- Nachricht von [email protected] ---------
Datum: Fri, 4 Dec 2009 09:43:47 +0100
Von: Karsten Elfenbein <[email protected]>
Antwort an: Karsten Elfenbein <[email protected]>
Betreff: Re: ACL / hdr_dom / matching issue
An: Bernhard Krieger <[email protected]>
Cc: [email protected]
Hi,
you could match the complete header value with
"acl aclHERODOT hdr(host) -i publisher.et.domain.com"
or do somthing like
use_backend ET if aclET !aclHERODOT
or just swap the use_backend lines
use_backend HERODOT if aclHERODOT
use_backend ET if aclET
Am Freitag, 4. Dezember 2009 schrieben Sie:
Hello,
we set up an acl like below.
I got some trouble due to routing to wrong backend.
Requests to "publisher.et.domain.com" are not forwarded to the
"Herodot" Backend.
Instead it was forwarded to "ET" backend.
The problem was that the Domainname "publisher.et.domain.com" was
matched in the acl "aclET -i et.domain.com" too.
In the meanwhile we swapped this two Acls.
Is there are solution to avoid this "wildcard" behavior like
"^et.domain.com" ?
.
.
acl aclHERODOT hdr_dom(host) -i publisher.et.domain.com
acl aclET hdr_dom(host) -i et.domain.com
use_backend ET if aclET
use_backend HERODOT if aclHERODOT
.
.
regards
Krieger Bernhard
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
Mit freundlichen Grüßen
Karsten Elfenbein
Entwicklung und Systemadministration
erento - Der Online-Marktplatz für Mietartikel.
erento GmbH
Friedenstrasse 91
D-10249 Berlin
Tel: +49 (30) 2000 42064
Fax: +49 (30) 2000 8449
eMail: [email protected]
- - - - - - - - - - - - - - - - - - - - - - - - - -
Hotline: 01805 - 373 686 (14 ct/min.)
Firmensitz der erento GmbH ist Berlin
Geschäftsführer: Chris Möller & Oliver Weyergraf
Handelsregister Berlin Charlottenburg, HRB 101206B
- - - - - - - - - - - - - - - - - - - - - - - - - -
http://www.erento.com - alles online mieten.
----- Ende der Nachricht von [email protected] -----
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.