Hi all
I am using an iRule to handle HTTP redirects, it works all my sites but 2, not sure why since the rule format is identical and the irules statistics does not show any failures or aborts.
The last two redirects “bloomsday” and “mcll” return page 404 not found.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
“prodep” {
HTTP::redirect “”
}
“prodev” {
HTTP::redirect “”
}
“potentiel” {
HTTP::redirect “”
}
“potential” {
HTTP::redirect “”
}
“milr” {
HTTP::redirect “”
}
“langue” {
HTTP::redirect “http:://[HTTP::host]/conted/langprg/fulltimefrench/”
}
“language” {
HTTP::redirect “http:://[HTTP::host]/conted/langprg/fulltimeenglish/”
}
“eflp” {
HTTP::redirect “http:://[HTTP::host]/conted/langprg/”
}
“continue” {
HTTP::redirect “http:://[HTTP::host]/conted/prodep/”
}
“conted-translation” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/translation/”
}
“conted-span-port” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/spanport/”
}
“conted-general” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/facultypartnerships/”
}
“conted-cms” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/cms/”
}
“conted-apply” {
HTTP::redirect “http:://[HTTP::host]/conted/applyregister/”
}
“cce-internet” {
HTTP::redirect “http:://[HTTP::host]/conted/programs/grad/it/”
}
“cce-translation” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/translation/”
}
“cce-spanish” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/spanport/”
}
“cce-programs” {
HTTP::redirect “http:://[HTTP::host]/conted/programs/”
}
“cce-info” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/infosessions/”
}
“scs-internet” {
HTTP::redirect “http:://[HTTP::host]/conted/programs/grad/it/”
}
“scs-translation” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/translation/”
}
“scs-spanish” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/spanport/”
}
“scs-info” {
HTTP::redirect “http:://[HTTP::host]/conted/acad/infosessions/”
}
“bloomsday” {
HTTP::redirect “http:://[HTTP::host]/conted/milr/bloomsday/”
}
“mcll” {
HTTP::redirect “http:://[HTTP::host]/conted/milr/”
}
}
}