Forum Discussion
Juanma_47808
Nimbostratus
Mar 30, 2008Java script redirection problem
Hello,
I am trying to set up a BigIP LTM to load balance a https service. There is an upload page in the WEB that uses a java script that changes the URL client from:
h...
Answering myself:
when HTTP_REQUEST {
if { [ string tolower [HTTP::host] ] matches_regex {^\w\w\.domain\.com$} } {
HTTP::redirect "http://www.[HTTP::host]"
}
}
Any remarks are welcome if I did something wrong.
- Hi,
- jakauppila_3997Jun 14, 2012
Nimbostratus
"Status Page" is the exact receive string I'm using.
In the raw HTML coming back, the line containing that string is:
- "[title]Example Status Page[/title]"
The monitor works fine if I use the following as the receive string:
- [title]
- Example
- Status
- [/title]
Using the following, the monitor marks the pool members as down:
- Page
- Page[/title]
- [title]Example Status Page[/title]
Is there some issue or conflict in the monitors ability to parse the page coming back?
(Unable to post the HTML tags, so I changed the brackets)