Rav_99576
Feb 05, 2012Nimbostratus
Redirect Port
Hello Everybody,
I have a case over here that i need to redirect the port that hits my VIP meaning
I have already a Service running on port 80 and all the requests that i receive are going through this port while the back end servers have the port 7778 running on.
So all i need is when i receive any request on port 7778 to be redirected to port 80
Http://10.10.10.1:7778/index.htm > http://10.10.10.1/index.htm
What i thought of is this but it didnt work i might need your help folks :
when HTTP_REQUEST {
if {[TCP::client_port] != "80"}{
HTTP::redirect "http://10.10.10.1[HTTP::uri]"
}
}
Thnx in advance