Hi Gerald,
Your Irule is not correct because it will trigged to each request. either at condition "if" or in each case at "else".
when HTTP_REQUEST {
if { [HTTP::uri] contains "order" } {
HTTP::redirect /Login.aspx?guestlogin=1&order=[URI::query [HTTP::uri] order]&context=3 }
else {
HTTP::redirect /Login.aspx?guestlogin=1 }
}
You need to add an additional condition on else like this:
when HTTP_REQUEST {
if { [HTTP::uri] contains "order" } {
HTTP::redirect /Login.aspx?guestlogin=1&order=[URI::query [HTTP::uri] order]&context=3 }
elseif {[HTTP::uri] eq "/"} {
HTTP::redirect /Login.aspx?guestlogin=1 }
}
le me now if it's clear...
Regards