Forum Discussion
DM_5174
Nov 07, 2007Nimbostratus
Case-sensitive URL Redirection
Hello all,
I have created a 4x iRule that will redirect based on specific
words after the FQDN "http://%h/". So if i put "http://www.primarysite.com",
i get redirected to the main ...
DM_5174
Nov 07, 2007Nimbostratus
I have tried the "i" switch and it does not work for the irule version i am running. I have tried the other approach and came up with a 404 error. I think the syntax is incorrect...Can you let me know if this is correct?
Thanks again!
if (http_host == "www.primarysite.com" and http_uri == "/[hH][oO][mM][eE]") {
redirect to "www.secondarysite.com/secure/"
}
else {
use pool APACHE_WEB_SERVERS
}
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