Forum Discussion
Brian_69413
Aug 10, 2012Nimbostratus
I was thinking about something like this, but it is for the simplest case and is not tested:
when HTTP_REQUEST {
set pathvar [HTTP::path]
string map {"/tr1" ""} $pathvar
HTTP::path $pathvar
}
There is a lot to consider though...
-Would /tr1 show up anywhere else in a URL that is valid?
-Should the user see the new path in their address bar or not?
-Do we need to do this for every case or should there be some logic?
Hope that helps...