Forum Discussion
The_Bhattman
Aug 20, 2009Nimbostratus
I think the first irule event was more correct, but needs a monitor tweak.
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/config"} {
HTTP::uri /main
}
}
You don't need the response unless you want to change the response towards the client.
Another way is a redirect
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/config"} {
HTTP::redirect http://[HTTP::host]/main
}
}
Hope this helps
CB