on 12-21-2005 6:07 PM
Hi,
I have a SAP Web Dispatcher installed.
I'd like to reroute all prefixes with a certain start to be redirected to another host.
I tried to use
icm/HTTP/redirect_0 = PREFIX=/something/,TO=/something/,HOST=another_host
my problem is that it is not rerouting proberly.
if i enter host/something/* it redirects.
if i enter host/something/newlib.jsp, i get page cannot be found HTTP404 = no redirect.
if i enter host/something/*newlib.jsp i get redirected.
So i thought i'll just remove the *.
But the it only redirects on host/something/.
Can anyone tell me how to redirect on the web dispatcher?
All i need is for all prefixes starting with /something/ to be redirecting to a new host keeping the prefix.
Best Regards,
Rasmus
Hi,
patterns can only be used for the "FROM" argument.
Please use the following parameter value:
icm/HTTP/redirect_0 = PREFIX=/,FROM=/test/*,TO=/test/, HOST=<destination host>
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oliver,
When you say i can only use the * in the from argument, then if i use this will get the parameter list as well.
http://host/test/mytests/test1.html?param=something
will it be redirected to
http://new_host/test/mytests/test1.html?param=something
I cant find the from parameter in the documentation.
http://help.sap.com/saphelp_nw04/helpdata/en/00/040f3a39ce8704e10000000a114084/content.htm
Br Rasmus
Hi Rasmus,
please refer to NW 2004s docu:
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f5/51c7d170bc4a98b1b5a0339213af57/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/f5/51c7d170bc4a98b1b5a0339213af57/frameset.htm</a>
This redirect feature was added with 6.40 patch level 62 and is therefore not documented on NW04 help.sap.com.
Formfields are always transported with the redirect.
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oliver,
Thanks for the information,
The web disptacher is standalone application, but can i use the NW04s web dispatcher with my NW04 SP14 WAS ?
If it is can I upgrade from NW04 to NW04s or do i have to install it from the bottom ?
I also tried to find it on the download pages but i was unable to find it.
Can you point me in the right direction?
Best Regards
Rasmus
Message was edited by: Rasmus Stokholm
Hi Gregor,
In your weblog i can see that you are using the ABAP stack. Im only using the JAVA. Should i then use the Application server JAVA.
But the java server doesnt have kernel downloads.
Another thing is i looked at my release information on the dispatcher. It looks like this.
Release Information Refresh
Web Administration Version 6.40.1, Mon May 3 09:45:25 CEST 2004
SAP Web Dispatcher Version 6.40.8, multithreaded, ASCII
kernel information
system name
kernel release 640
database library
compiled on NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
compiled time Apr 3 2005 19:36:25
update level 0
patch number 66
source id 0.66
Here it looks like im on patch 66, but it is only sp08.
is there any difference in the patches levels on abap and java?
Br Rasmus
Hello Rasmus,
have you tried:
/something*
?
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.