Forum Discussion
Nams_119859
Apr 12, 2013Nimbostratus
Thank you for the quick response. This is what I have now. But I get a connection reset when I try any url with "not". Without "not" it works but doesnt do what I need it to. Could it be that my F5 version (9.3.1) doesnt support "not"?
when HTTP_REQUEST {
if { not [HTTP::uri] starts_with "/[HTTP::header value Version]" and \
[HTTP::header exists Version] } {
HTTP::redirect "http://[HTTP::host]/[HTTP::header Version][HTTP::uri]"
}
}