Forum Discussion
Tom_Thunem_9204
Nimbostratus
Oct 12, 2009URL redirect when URL is lacking a domain name
Hello,
I have a situation where they want to save the user some typing. They want to redirect http://abc to http://abc.com. Haven't been able to find the syntax for this. All of my r...
Tom_Thunem_9204
Nimbostratus
Oct 13, 2009here is the iRule I have built. It doesn't seem to be working as the FQDN doesn't appear to be getting passed on to the authentication piece of our app. In the browser, the user enters "http://chargeit", they are then taken to a login screen. That screen requires the FQDN for authentication. That being "chargeit-test.avnet.com".
when HTTP_REQUEST {
if { [HTTP::host] eq "chargeit-test" } {
HTTP::header replace "Host" "chargeit-test.avnet.com"
}
}
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
