Forum Discussion
Waylon
Jul 19, 2018Nimbostratus
VIP with SSL certs and Simple URL Append iRule Help
Hi,
Wondering if anyone could help me, I'm a beginner when it comes to TCL scripting so I'm hoping someone could shed some light with appending a link to an SSL URL using an iRule.
My issue...
VI...
Lee_Sutcliffe
Jul 19, 2018Nacreous
Morning, you could do this with a traffic policy if iRules aren't your strong point. However if you were to do this with an iRule you need to make sure you specifiy the protocol (HTTPS) and the host when redirecting.
when HTTP_REQUEST {
if {[HTTP::path] equals "/" } {
HTTP::redirect "https://[HTTP::host]/users/signon.html"
}
}
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