Forum Discussion
Ahmad_03_151082
Nimbostratus
Apr 29, 2015HTTP to HTTPs exclude URLs
Hello
I am facing problem with my iRule which is redirect HTTP to HTTPs
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host][HTTP::uri]] {
"xyz.com/pubportal/something" -
"xy...
nitass
Employee
May 13, 2015I am using this iRule
can you post the virtual server configuration?
tmsh list ltm virtual (name)
Ahmad_03_151082
Nimbostratus
May 14, 2015Please find below:
tmsh list ltm virtual Oservices.bahrain.bh_http_vs
ltm virtual Oservices.bahrain.bh_http_vs {
destination 192.168.214.6:http
ip-protocol tcp
mask 255.255.255.255
persist {
services_cookie_persistence_profile {
default yes
}
}
pool oservices_pool
profiles {
oservice_http_profile { }
tcp { }
}
rules {
virtual.portal.redirect
EGA_Exclude_HTTPs
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vlans {
F5-DMZ-Prod-EXT
}
vlans-enabled
vs-index 58
}
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