Forum Discussion
The_Bhattman
Aug 02, 2011Nimbostratus
Hi Adam,
You could be explicit as to which external site is accessing this iRule
For example
when HTTP_REQUEST {
if {[HTTP::host] eq "www.domain.com" } {
switch -glob [string tolower [HTTP::query]] {
"*db_oem_id*" { HTTP::respond 301 Location "http://[HTTP::host][HTTP::path]" }
}
}
}
I hope this helps along with Michael Yates excellent suggestion.
Bhattman