Forum Discussion
tarma_58716
Jun 14, 2011Nimbostratus
virtual bar80 {
destination 172.28.17.88:80
ip protocol 4
rules myrule
profiles {
http {}
tcp {}
}
}
rule myrule {
when HTTP_REQUEST {
virtual bar1234
HTTP::uri "new_uri"
}
}
virtual bar1234 {
snat automap
pool foo
destination 172.28.17.88:1234
}
pool foo {
members 10.10.70.110:80 {}
}
is it correct?
i've tested that but in the browser i haven't the URI displayed but i was correctly redirected to the URI.
to send all the next requests to virtualbar1234/new_uri do i need to force the browser displaying the the correct URI.
I know it's so confused.
Thanks a lot for your help