ex: http://testsite.com/test.aspx?pageid=13&nocache=1&list=11
to http://testsite.com/test.aspx?pageid=13
I need to do some type of remove or filter before the url hit the webserver, and thats only for users from outside ip:s (they should not be able to use nocache=1 and list=nn=)
I am using an redirect at the moment.
ex2
when HTTP_REQUEST {
if { [IP::addr [IP::remote_addr] equals 10.0.0.0/8] } {
}
else {
if { [string tolower [HTTP::uri]] contains "nocache=1"} {
HTTP::redirect "http://testsite.com/" }
}
if { [string tolower [HTTP::uri]] matches_regex {list*}} {
HTTP::redirect "http://testsite.com/" }
}