Hello ,
I think it was a combination of too many 301 redirects and where the "return" syntax was placed in the code.
ex)
HTTP_REQUEST {
.....................
if { ([string tolower [HTTP::uri]] contains "site_picker") or
([string tolower [HTTP::uri]] contains "create_profile") } {
if user does NOT have access to the site, set the portal cookie flag to redirect
if it exist
if { ([HTTP::cookie exists $::portalCookie]) } {
set ::portalExist 1
}
return
} elseif { ([HTTP::uri] contains "/solutioncenter") } {
set global variable flag for any old solutioncenter URL to 1
and replace site names
set ::SC_Flag 1
HTTP::respond 301 Location [string map {"/solutioncenter" "/erp"} "[HTTP::uri]"]
return
} elseif { ([HTTP::uri] contains "+") or ([HTTP::uri] contains "action.process") } {
Allow VCM URLs and login actions to go through
return
}
..............
}
The issue seemed occur when their was ONLY 1 return syntax at the very bottom of the "HTTP_REQUEST" function.
I would think it would NOT matter, but from testing, it seems to be case. Any thoughts?
Regards,
TRX