How To Redirect To A URL Based On A Query String in Oracle iPlanet Web Server ?
Last updated on NOVEMBER 05, 2016
Applies to:Oracle iPlanet Web Server - Version 6.1 and later
Information in this document applies to any platform.
On iPlanet Web Server 6.1 and 7.0, how do you configure the web server to do redirects based on the query string, where there are many query strings to redirect?
https://www.xyz.com/def/index.jsp?query=1001 should be redirected to https://www.xyz.com/abc.jsp?query=1001
https://www.xyz.com/def/index.jsp?query=1002 should be redirected to https://www.xyz.com/abc.jsp?query=1002
https://www.xyz.com/def/index.jsp?query=1003 should be redirected to https://www.xyz.com/abc.jsp?query=1003
So based on query value passed in to the server, we have to redirect to corresponding url while keeping the query string name value in the uri.
The configuration requires a redirect for many query strings and cannot always use the following:
NameTrans fn="redirect" from="" url="https://www.xyz.com/abc.jsp?query=07001"
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms