Forum Discussion
kiamars_51328
Nimbostratus
May 18, 2009How can I get rid of the port on redirects.
Hi, I can redirect to new port, but how can i elemenated the port, I don't want to see the port that I am redirecting.
thx for your time.
kiamars_51328
Nimbostratus
May 18, 2009hi, I am new tp irule, would you give me an exmple,
right now here is my config
when HTTP_REQUEST {
log local0. "in HTTP_REQUEST"
if { ([HTTP::host] equals "192.168.15.1")}{
HTTP::redirect "http://192.168.15.1:300/" }
elseif {[HTTP::host] equals "192.168.15.1/"} {
HTTP::redirect "http://192.168.15.1" }
}
I want port 300 not show when I am browing to vip, can you tell me
how can I do that.
thx fo ryour time
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
