Forum Discussion
NoamRotter
Altostratus
Jun 18, 2014Virtual Server redirection
Hello,
We have some web apps sitting on different servers and written in different languages.
I am trying to implement the following process
The BIGIP gets a request and checks the URI Ac...
NoamRotter
Altostratus
Jun 18, 2014The configurations: Let me know if you need anything else from the conf file.
ltm virtual-address /Common/1.1.1.1 {
address 1.1.1.1
mask 255.255.255.255
traffic-group /Common/traffic-group-1
}
ltm virtual /Common/GENERAL {
destination /Common/1.1.1.1:443
ip-protocol tcp
mask 255.255.255.255
profiles {
/Common/clientssl {
context clientside
}
/Common/http { }
/Common/tcp { }
}
rules {
/Common/Redirect_to_VS
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
}
ltm rule /Common/Redirect_to_VS {
when HTTP_REQUEST {
if {[HTTP::uri] contains "/abc" } {
virtual abc
}
}
}
ltm virtual /Common/abc {
destination /Common/1.1.1.2:443
ip-protocol tcp
mask 255.255.255.255
pool /Common/abc
profiles {
/Common/clientssl {
context clientside
}
/Common/http { }
/Common/tcp { }
}
rules {
/Common/Test2
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
}
ltm pool /Common/abc {
description "abc"
members {
/Common/abc:80 {
address 2.2.2.2
}
}
monitor /Common/http
}
ltm rule /Common/Test2 {
when HTTP_REQUEST {
if { [HTTP::uri] equals "/abc" } {
HTTP::uri "/abc/Login.asp"
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects