URL Redirection on SUN ONE WebServer 6.1

Hi ,

we have a requirement to redirect from

http://server1.com?docid=1234 to http://server2.com?id=1234.

I found a lot of posting on redirecting to a new URL . However, I couldnt figure out a way to manipulate request parameters in querystring.

IS there a way to configure URL redirection with mapping old and new request parameters?

Thanks for your help

Dheepak

[424 byte] By [ardheepaka] at [2007-11-27 10:33:56]
# 1

You may write a simple NSAPI plugin for input filter which update the querystring as you wish. See the NSAPI example in your WS installation.

wyb2005a at 2007-7-28 18:25:43 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

Hello,

Thanks for your quick response!.

Is there no standard config approach in NameTrans which could accomplish this?

Thanks

Dheepak.

ardheepaka at 2007-7-28 18:25:43 > top of Java-index,Web & Directory Servers,Web Servers...
# 3

I don't think there is a way to rewrite the params in the URL like you are asking in 6.1, unless you write NSAPI plugin as mentioned.

This is possible on the new version on SJS Web Server, 7.0.

nseguraa at 2007-7-28 18:25:43 > top of Java-index,Web & Directory Servers,Web Servers...