cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dispatcher and redirecting

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

oliver_luik
Explorer
0 Kudos

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

Former Member
0 Kudos

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

Answers (2)

Answers (2)

oliver_luik
Explorer
0 Kudos

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

Former Member
0 Kudos

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

gregorw
Active Contributor
0 Kudos

Hi Rasmus,

you don't need to upgrade to NW04s. Install patch level 62 of NW04.

Regards

Gregor

Former Member
0 Kudos

Hi Gregor,

Thanks for the reply, thats good news.

I'm still having trouble finding the patch. I can only find support packages like 14 & 15.

Can you tell me were i can download the patch 62-

Best Regards,

Rasmus

gregorw
Active Contributor
0 Kudos

Hi Rasmus,

go to the Path I've described in the Preparation section of my Weblog <a href="/people/gregor.wolf3/blog/2005/11/07/setup-sap-web-dispatcher-with-url-filter-on-suse-linux-90">Setup SAP Web Dispatcher with URL Filter on SuSE Linux 9.0</a>.

Regards

Gregor

Former Member
0 Kudos

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

gregorw
Active Contributor
0 Kudos

Hi Rasmus,

the Web Dispatcher is the same for ABAP and Java. You should not mix up Patches and Service Pack.

Regards

Gregor

Former Member
0 Kudos

Hi Gregor,

I updated the dispatcher, and it worked.

So my redirection is working now.

I have one final question.

In the newest verison they SAP has added FROM and FROMPROT as parameter.

Do you know if or when they will implement a FROMHOST?

Br Rasmus

and thanks for the help both of you.

gregorw
Active Contributor
0 Kudos

Hello Rasmus,

have you tried:

/something*

?

Regards

Gregor