Forum Discussion
david_wang_2073
Aug 05, 2006Historic F5 Account
http::redirect based on [LB::server addr]
Hi, All,
We are trying to do rtsp load balancing with redirect method, but the rtsp servers were located in different data center and not belong to the same subnet with BIG-IP.
The...
david_wang_2073
Aug 21, 2006Historic F5 Account
I still have not found a way to do redirect in LB_SELECT, so I have to do it in SERVER_CONNECTED, which means that client have to setup a connection with a real server before the a redirect packet is returned.
when SERVER_CONNECTED {
log "server connected event"
log "Selected server is [LB::server addr]"
TCP::collect
TCP::payload replace 0 [TCP::payload length] "RTSP/1.0 302 Found\r\nLocation: rtsp://www.yxsx.com/vod/shipin1_isdn.rm\r\nConnection: close\r\nContent-Length: 0\r\n\r\n"
}
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
