on 12-15-2005 2:38 PM
Hi,
My requirement is that the WAS should redirect to sales.mycompany.com every time a request to www.mycompany.com/sales/* is sent.
Is there anybody who know how to do this ?
We are in the process of moving one of our site and we have implementet our portal to handle this.
But we have not moved all applications from the old server.
We have a link called www.mycompany.com/sales/sales.exe
which was a destination on the old platform.
When we move the DNS of www.mycompany.com to our portal this link will no longer work. This of course needs to work. We have setup a new DNS pointing to the old platform sales.mycompany.com.
Best Regards
Rasmus
Hi Rasmus,
you are right, the criteria for redirect handler in ICM and Web Dispatcher are currently only the protocol and the URL prefix. It is not possible to specify the host as a select parameter in current releases.
I will add this feature to the ICM/Web Dispatcher request list.
Kind regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is that a J2EE or ABAP WebAS?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, I got something similar working, that my resemble your case.
1. create an alias with your J2EE Visual Admin, being /sales (look at "redirect" alias <a href="http://alegua.freeserverhost.com/tmp/1.jpg">here</a>)
2. let it point to the local fs, and to a simple html file containing something like the following:
<html><head/>
<body onLoad="javascript:window.location='http://google.it';"/>
</html>
3. when now pointing (in my machine) to http://localhost:50000/redirect I'm in google.
Maybe too simple for you, but should do the trick.
Let me know.
Alex
Hi Alex,
Thanks for your answer.
Unfortunately it is a bit to simple because my application needs parameters.
But i cooked up a solution that resembles.
I just retrieved the parameters and added them in the back.
I'm just amazied that the WAS is not able to setup a redirect for a host. the ISS does this with ease.
Br Rasmus
Maybe so but i also try the sap web dispatcher that we have in front of the was.
The wepdisp has a redirect property, but event here it can only redirect on prefixes.
The syntax is
icm/HTTP/redirect_<xx> =
PREFIX=<URL prefix>,
TO=<new URL prefix > [, PROT=<protocol>, HOST=<host>, PORT=<port number/name>]
It is not able to check the host and prefix and the reroute to another host.
So in my case where i host several domains this doesn't work. Because all prefix must point to same host.
Br Rasmus.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.