minche22_258903
Apr 13, 2016Nimbostratus
irule to remove url ending
hello, i need to write an irule to redirect user to the same url but without the file at the end. for example if user request http://www.example.com/test.cgi?parm1=test&parm2=test2 or http://www.example.com/bla/bla/test.cgi?parm1=test&parm2=test2
i need to redirect him to: http://www.example.com/?parm1=test&parm2=test or http://www.example.com/bla/bla/?parm1=test&parm2=test2
so just removing the test.cgi and keep the parameters.
thank you:)