Forum Discussion
eraser3498_1311
Nimbostratus
Feb 05, 2014Port and URL redirection with SSL Client Side offloading
I have a couple different scenarios that I can't get irules to work for. First I have a url that I want to add port 82 to the standard rediection scripts aren't working. Would also like to hiding the...
nitass
Employee
Feb 07, 2014i think you do not need slash (/) after port number (82).
e.g.
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.24.10:80
ip-protocol tcp
mask 255.255.255.255
profiles {
http { }
tcp { }
}
rules {
myrule
}
source 0.0.0.0/0
vs-index 2
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule myrule
ltm rule myrule {
when HTTP_REQUEST {
HTTP::respond 302 Location "http://[HTTP::host]:82[HTTP::path]/xyz"
}
}
[root@ve11a:Active:In Sync] config curl -I http://172.28.24.10/something
HTTP/1.0 302 Found
Location: http://172.28.24.10:82/something/xyz
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
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