Forum Discussion
Kevin_Stewart
Jun 18, 2013Employee
Here is just ONE way:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/sec+test/" } {
catch {
set index [lindex [split [findstr [string tolower [HTTP::uri]] "/sec+test/" 10 ".htm"] "/"] 1]
if { $index ne "" } {
HTTP::respond 302 Location "http://myotherwebsite.com/folder1/folder2/KB/redirect.aspx?id=$index"
}
}
}
}