on 03-03-2010 8:40 AM
Hi,
we have a Apache Reverse Proxy calling an BSP on an NW7 AS ABAP System.
The URI which is called by the proxy is:
/sap/bc/bsp/sap/xyz/xyz.htm
After this request, the proxy does a new request with the session information included:
/sap/sap(bD1kZSZjPTEwMA==)/bc/bsp/sap/xyz/xyz.htm
So... he has added the session info ("bD1kZSZjPTEwMA==") plus an additional /sap/ ... so with the additional /sap/ it's not working. What's the problem here?
Because we have a reverse proxy in front, I tried to solve the problem with a RewriteRule:
RewriteRule ^sap/sap\((.)\)(.) https://server:44300/sap($0)$1 [P]
without success...
Do you know why the RewriteRule is not working or why he is adding the additional /sap/ in front of the URI?
Thanks!
BR,
Markus
Hi,
>After this request, the proxy does a new request with the session information included:
>/sap/sap(bD1kZSZjPTEwMA==)/bc/bsp/sap/xyz/xyz.htm
This is the classical URL mangling problem.
Yes you have to use Apache URL rewrite rules such as
RewriteRule ^/(sap\(.*) https://server:44300/ [P]
Check the SDN wiki on reverse proxies, it has really good information.
Regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.