My Oracle Support Banner

How To Redirect To A URL Based On A Query String in Oracle iPlanet Web Server ? (Doc ID 1367202.1)

Last updated on JANUARY 15, 2024

Applies to:

Oracle iPlanet Web Server - Version 6.1 and later
Information in this document applies to any platform.

Goal


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?

For example,

https://<HOSTNAME.DOMAIN>/<CONTEXT>/<NAME>.jsp?query=1001 should be redirected to https://<HOSTNAME.DOMAIN>/<NAME>.jsp?query=1001
https://<HOSTNAME.DOMAIN>/<CONTEXT>/<NAME>.jsp?query=1002 should be redirected to https://<HOSTNAME.DOMAIN>/<NAME>.jsp?query=1002
https://<HOSTNAME.DOMAIN>/<CONTEXT>/<NAME>.jsp?query=1003 should be redirected to https://<HOSTNAME.DOMAIN>/<NAME>.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:

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.