brent112_11716
Sep 21, 2012Nimbostratus
URL Redirect never works first time
i have a simple irule that redirects users to a longer URL that we do not want them to have to remember.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/" {
HTTP::redirect "https://[HTTP::host]/psp/HRDEV91/?cmd=login&languageCd=ENG"
}
}
}
This irule NEVER works the first time a PC goes to https://website/ you get a page cannot be displayed. If you type it in again it redirect just like it should and all subsequent attempts to go to the root URL redirect you to the appropriate site. This happens from every PC i try it on. Any ideas what the problem could be?