Hi lmwfl,
thank you for this example.
I've tried this and the result is exactly the same. It just displays an empty page (with empty htmlcode).
Can you modifiy this rule, so it can also manipulate the URI?
Now, I used it this way:
if {([string tolower [HTTP::host]] starts_with "webservice.xxx.xx/webservice/")}{
HTTP::header replace Host "ihstestweb.xxx.xx:1234/webservice/"
}
}
Posted By lmwf1 on 02/18/2009 3:18 PM
Try this and see if it works.
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] starts_with "www.somesiteA.com")}{
HTTP::header replace Host "www.somesiteB.com:4444"
}
}