Forum Discussion
newbie69_11755
Nimbostratus
18 years agoredirecting to a specific L4 port
I have several irules to write which key off of something in the uri, and then redirect to a specific layer 4 port number. Below is what I have come up with so far:
when HTTP_REQUEST {
...
Nicolas_Menant
Employee
18 years agoTo test your iRule you can add logging information that will be added too in /var/log/ltm when you'll do your testing:
when HTTP_REQUEST {
log local0. "HTTP REQUEST: [HTTP::uri]"
if {[HTTP::uri] contains "mysite"} {
log local0. "uri contains mysite!"
pool Mysite_Sharepoint_16836}
}