Forum Discussion
RFLORY_78743
Nimbostratus
Oct 17, 2012Redirecting one HTTPS url to another HTTPS url
I am trying to redirect our mobile users to our new mobile site with a simple iRule. The rule works fine for http traffic as it flows through but for HTTPS it does not work. No errors, it just seem...
nitass
Employee
Oct 19, 2012So the question is, how can I get the request to not process through other irules. i do not think HTTP_RESPONSE event is executed after running HTTP::respond in HTTP_REQUESTED event.
[root@ve10:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
log local0. ""
}
when HTTP_REQUEST {
log local0. ""
HTTP::respond 301 Location "https://m.mydomain.com/content/mobile/en/home.html"
}
when HTTP_RESPONSE {
log local0. ""
}
when CLIENT_CLOSED {
log local0. ""
}
when SERVER_CLOSED {
log local0. ""
}
}
[root@ve10:Active] config tail -f /var/log/ltm
Oct 19 21:28:00 local/tmm info tmm[7926]: Rule myrule :
Oct 19 21:28:00 local/tmm info tmm[7926]: Rule myrule :
Oct 19 21:28:00 local/tmm info tmm[7926]: Rule myrule :
can you try ssldump to see what is going on?
sol10209: Overview of packet tracing with the ssldump utility
http://support.f5.com/kb/en-us/solutions/public/10000/200/sol10209.html
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
