cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with encoded parenthesis in URL of BSP application

0 Kudos

Hi,

our BSP application has following url:

http://sap-host/sap/bc/bsp/sap/zapp/index.html

After login we addionaly get a parentheses-part in the url (url mangling):

http://sap-host/sap(bD4JHFSIBSF==)/bc/bsp/sap/zapp/index.html

Everything works fine as far as we access the sap-host dircetly. When we want to access over Websphere-Portal with a proxy-servlet (reverse-proxy), the login is correct and after login we get an error 404 (not found). This happens because the proxy encodes the parentheses in the url with %28 and %29. Another problem is, that i have no chance to change the proxy-configuration, because it´s not in my responsibility.

Is there any possibility to get the icm/icf work with these encoded parenthesis?

I didn´t find anything helpful in the sdn/forums/wiki...

Thx a lot!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You have to manage the URL mangling when using reverse proxies.

For exemple with Apache as a reverse proxy you need this kind of rewrite rule :

RewriteRule ^/(sap\(.*) https://internalHost:internalPort/$1 [P,L]

If you have no chance of changing the proxy configuration, you are in trouble...

Good luck !

Olivier

0 Kudos

Thx fo quick answer, but I have no chance to setup a rewrite rule in the proxy.

I think i´m in trouble!

It looks like, that only the encoded parentheses causing the problem. Do I have a chance to do a rewrite on the sap-host (icf/icm) ?

Former Member
0 Kudos

The ICF or the SAP Web dispatcher are not able to rewrite URLs. They can only do redirects...

The only way for you, is, I suppose, to install an Apache Reverse proxy between the first reverse proxy and the SAP server ?

Regards,

Olivier