Forum Discussion
DevBabu
Sep 10, 2015Cirrus
can this be done this way
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "mycompany.com" } {
if {[HTTP::query] != ""}
{
HTTP::respond 302 Location "https://egiftpp.mycompany.com[HTTP::path]?[HTTP::query]"
}
else
{
HTTP::respond 302 Location "https://egiftpp.mycompany.com[HTTP::path]"
}
}
}