on 03-03-2010 6:04 PM
Hello all,
i hope i post this question in the correct category.
i got a problem to get a landingpage work with more than one sap system. We use an apache reverseproxy in our DMZ. On this machine is a website, our landingpage. From this site i am able to redirect the user to our internal SAP Solution-Manager. Until here everything works fine.
Now i want to connect the reverse proxy with another SAP System too. Both systems work with the same relative URL called /sap/bc/... . The reverse proxy can't make a difference between these machines because both use the same relative string. For me it is not possible to it translate correctly.
My prefered solution is to manipulate the generated URL from the sap-machines in the following form.
Server1 -> /1/sap/bc/...
Server2 -> /2/sap/bc/...
Until yet I d'ont found a solution. But I'm sure there is a solution like the sap.com webserver show.
Any suggestions?
Regards,
Hi,
Do you find a solution ?
Thank you,
Philippe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bjoern,
Please refer to the following link at this is what you need to consider. There is also a link to Apache section at the end
http://wiki.sdn.sap.com/wiki/display/BSP/Using+Proxies
Hope this helps
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your answer Oliver. Maybe I have to explain my problem in detail.
I know the Rewrite function and i am able to use it. That's not my problem.
I got two Solution-Manager SAP-Systems an one Reverseproxy.
Both Webdispatcher from SAP-Systems shall be reached through the Reverseproxy.
It's no problem to reach every SAP-System in the first step. I am able to mask the URL under one domainname.
p. ex. www.domain.com
ProxyPass /SAPSID1 http://server1/sap/bc/.
ProxyPassReverse /SAPSID1 http://server1/sap/bc/.
ProxyPass /SAPSID2 /SAPSID1 http://server2/sap/bc/.
ProxyPassReverse /SAPSID2 http://server2/sap/bc/.
Now i am able to use the URL www.domain.com/SAPSID1 and www.domain.com/SAPSID2 to reach each SAP-system.
But...
I got from each system a not clean Loginpage (headertranslation works correct) but the tool http-watch show me the webcontent (i think java css) starts some requests with "/sap/bc".
Both systems generate the same relativ URL ("/sap/bc") so i cannot make a difference between them with Reverseproxy.
So...
Is there a possibility generate customized relativ URL's on SAP-system?
org: /sap/bc/...
cust: /SAPSID1/sap/bc/...
Now i hope you understand the problem.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bjoern,
>Is there a possibility generate customized relativ URL's on SAP-system?
I don't think so. But it is perfectly possible to manage the same URLs from different SAP systems with Apache as a reverse proxy. You have to use ProxyPassReverse directives between for each Location.
Something like
<Location /SAPSID1>
Order allow,deny
Allow from all
ProxyPassReverse http://server1:80
</Location>
<Location /SAPSID2>
Order allow,deny
Allow from all
ProxyPassReverse http://server2:80
</Location>
It can be tricky but it is definitively possible.
Regards,
Olivier
Hello,
>Server1 -> /1/sap/bc/...
>Server2 -> /2/sap/bc/...
You can perfectly use this technique with an Apache reverse proxy.
You just have to use rewrite rules of this kind
RewriteRule ^/1/sap/bc/(.*) http://server1/sap/bc/$1 [P]
RewriteRule ^/2/sap/bc/(.*) http://server2/sap/bc/$1 [P]
Check the SDN wiki on reverse proxies, it is very interesting !
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 |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.