Forum Discussion
Chris_Miller
Jan 10, 2011Altostratus
Something like this Aaron?
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] contains "acb.com" } {
if { [string tolower [HTTP::uri]] starts_with "/se" } {
HTTP::redirect "http://www.xyz.com/sv[string range [HTTP::uri] 3 end]"
}
}
}