Forum Discussion
rewiting of URL to two bluecoat
hello,
I've one F5 with GTM. my problem is for a proxy.pac who are in the bluecoat.
When my pc GET http://toto.domain.com:8080/proxy.pac the F5 forward to one of my bluecoat the request. But my bluecat don't reponse to this request because it don't know toto.domain.com.
I would like my F5 "rewrite" this request toto.domain.com to "bluecoat1.domaine.com" or "bluecoat2.domain.com"
bluecoat1 and bluecoat2 are in a pool.
i've thinking to an irules but i don't know how to make this one.
excuse me for my english !
thank you for your help
7 Replies
- Mohamed_Lrhazi
Altocumulus
GTM is a DNS server. Did you mean to say GTM? if yes, is the box also licensed for LTM? - dralom_31747
Nimbostratus
yes i've a license for LTM - Mohamed_Lrhazi
Altocumulus
OK. Let me help you rephrase your problem: - dralom_31747
Nimbostratus
it's all right ! - Mohamed_Lrhazi
Altocumulus
The Host header you want to set is static, but varies based on the selected pool memebr, right? - Mohamed_Lrhazi
Altocumulus
Maybe something like:when HTTP_REQUEST_SEND { set server [LB::server addr] clientside { if { [IP::addr $server equals 10.0.0.1] } { HTTP::header replace Host "bluecat1.dom.ain" } if { [IP::addr $server equals 10.0.0.2] } { HTTP::header replace Host "bluecat2.dom.ain" } } }
- dralom_31747
Nimbostratus
great !
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com