cancel
Showing results for 
Search instead for 
Did you mean: 

Once again about ITS and IISproxy

Former Member
0 Kudos

Hi everybody!

Chalenge:

We want to make available several systems (ERP2004 and BW for example). SSO working. And we want to make them available from outside, so we use IIS proxy.

In system definition for BW system ITS path is set to '/bw/sap/bc/gui/sap/its/webgui' and WebAS path is set to '/bw/sap/bw/bex'.

I created aliases on integrated ITS (WebAS 6.40) on BW system. Please take a look at http://www.dennisk.org/images/stories/gallery/img_pictures/aliases.jpg (80 kb.).

In IISproxy.xml I've got following strings:

____________________

<source>

<protocol>http</protocol>

<prefix>/bw</prefix>

</source>

<target>

<protocol>http</protocol>

<host>bw-server.domain.ru</host>

<port>8000</port>

</target>

____________________

When I'm trying to launch webgui from outside, I recieve 404 error (not found). If I look at this error page properties, I see that thats about this address: http://external-portal.domain.ru/sap(ZT1iNbHN6c3h6RlElM0QlM0Roh3Uj3JTNEbalablabla)/bc/gui/sap/its/we....

So it still tries to open this '/sap' path instead '/bw/sap'.

What I'm doing wrong?

I can add one more prefix in IISproxy ('/sap') and it will work perfect, but only for one system.

Sorry for long explanation. Do I need to clarify something else?

Thanks in advance for help and support!

Regards,

DK

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

take a look at

it might give you some clues and direction.

Former Member
0 Kudos

Hi Stuart!

Thanks for reply!

But my problem (at least I think so :o)) is somewhere else.

I made some aliases on ITS side, but they do not work as I wanted them to.

I want logon URL (to connected system) to look like 'http://server.domain:8000/bw(kfdjvsSDFREWgwgfkasdblablabla)/sap/...' instead of 'http://server.domain:8000/sap(kfdjvsSDFREWgwgfkasdblablabla)/bw/...'

But for some reason it's not working. I can see it through HTTPwatch.

Thanks again and regards,

DK

Former Member
0 Kudos

I can only think of using virtual hosts in your Web AS ABAP system and then I'm not familiar with that aspect. It sounds to me like you are maybe mixing ideas about Web AS and ITS.

Former Member
0 Kudos

OK then.

I'll wait for ansver from SAP (I opened OSS message on this topic), and for sure let you know here.

Thanks for help and support!

Regards,

DK

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dennis,

I had similar issue when I used IIS proxy for ITS, BW server and content server. They all three has URLs starting as http://domainname/sap. This is what I am using currently and it is working fine for me.

<mapping name="Mapping for ITS" >

<source>

<protocol>http</protocol>

<prefix>/scripts/wgate</prefix>

</source>

<source>

<protocol>http</protocol>

<prefix>/sap/its</prefix>

</source>

<target>

<protocol>http</protocol>

<host>ITSDomain.com</host>

<port>81</port>

</target>

</mapping>

<mapping name="Mapping for SAP Content Server" >

<source>

<protocol>http</protocol>

<prefix>/sap/bc/contentserver</prefix>

</source>

<target>

<protocol>http</protocol>

<host>R3domain.com</host>

<port>8000</port>

</target>

</mapping>

<mapping name="Mapping for BW WAS" >

<source>

<protocol>http</protocol>

<prefix>/sap</prefix>

</source>

<target>

<protocol>http</protocol>

<host>BWDomain.com</host>

<port>8000</port>

</target>

</mapping>

The IIS proxy is parsed in the order in which mapping is defined.

/sap(ZT1iNbHN6c3h6RlElM0QlM0Roh3Uj3JTNEbalablabla URL only matches the last mapping and hence redirects to BW server.

Hope this helps!!!

Regards,

Jigar