Forum Discussion
CKing_01_163974
Nimbostratus
Jul 17, 2014HTTP to HTTPS iRule not working
Hello, I'm new to F5 and, subsequently, iRules; so any and all help will be very much appreciated!
I have two VS, one port 80 and another port 443, same VIP.
HTTP iRule:
when HTTP_REQU...
Mike_G_is_1_134
Nimbostratus
Jul 17, 2014You may want to enable some logging so that you can see what is happening. Add the following line to your irule before the redirect: log local0. "Redirecting [HTTP::host] to https://hostname.com"
This should place an entry in the log file for ltm that will prove that you are hitting the irule. If you can not find that message in your syslog, then you are not hitting the irule.
CKing_01_163974
Nimbostratus
Jul 17, 2014Okay so I fixed the iRule to enable logging as you suggested, however, I cannot view the syslog (unless I'm doing it incorrectly). Do I just go to System>Logs?
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