cancel
Showing results for 
Search instead for 
Did you mean: 

Apache configuration

Former Member
0 Kudos
92

Hello everybody

I’m using Apache as a ReverseProxy but I’m getting an error.

I have a public url for the Portal, www.xxx.com, this url is translated to our internal server yyy.zzz.net, but our internal server has two listening ports, one for Java requests and one for ABAP request (we’re using webdynpro ABAP). So we have these sentences:

ProxyPass /irj http://yyy.zzz.net:50000/irj

ProxyPassReverse /irj http://yyy.zzz.net:50000/irj

ProxyPass /sap http://yyy.zzz.net:8000/sap

ProxyPassReverse /sap http://yyy.zzz.net:8000/sap

Also we have a RewiteRule:

RewriteRule / http://yyy.zzz.net:50000/irj/portal

With this configuration we have a problem when the portals tries to show a webdynpro ABAP because it’s created with the following url http://yyy.zzz.net:8000/sap/bc/wepdynpro/sap/zaaaaaaaa and the browser cannot show this page because it uses an internal server name (not public).

How can be replace yyy.zzz.net:8000 for www.xxx.com with an Apache?

Thank you in adavanced.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

depending on the way this WebDynpro is configured the preserve header functionality may be a solution (please have a look here: )

Maybe you can also take a look at the mod_rewrite feature. (see also https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7f4397ba-0501-0010-3ba9-e6b0f70c....

Regards,

Holger.

Former Member
0 Kudos

Hi!

We face the following problem when accessing WDA from the Internet (it always come to the same internal URL).

Did you solve your problem?

Thank you!