cancel
Showing results for 
Search instead for 
Did you mean: 

Apache as an intermediate Server??

Former Member
0 Kudos

I'm trying to configure apache as an intermediate server as stated in the following document.

http://help.sap.com/saphelp_nw04/helpdata/en/18/5cea2296190e4cb7faf9468ad793ea/content.htm

As per the step 1, let me know what files do I need to copy?

As per step 2.a when I insert AddModule mod_proxy.c and mod_rewrite.c into Apache httpd.conf, apache is not startging.

Please let me know how to configure apache as an intermediate server.

We are using NW04.

Thanks in advance.

Chandra.

Accepted Solutions (1)

Accepted Solutions (1)

eddy_declercq
Active Contributor
0 Kudos

Hi,

Pls check note 480520 and http://httpd.apache.org/docs/2.0/ for this.

Eddy

Former Member
0 Kudos

Eddy,

According to the note (pdf file), I went to section 4.3 as I'm using Apache 2.0.54, and added the following @ the end.

<VirtualHost myportal:80>

ServerName myportal

ProxyPreserveHost On

ProxyPass /b2b/ http://myportal/b2b/

ProxyPassReverse /b2b/ http://myportal/b2b/

ProxyPass /b2c/ http://myportal/b2c/

ProxyPassReverse /b2c/ http://myportal/b2c/

ErrorLog logs/myportal.80.error.log

CustomLog logs/myportal.80.custom.log common

</VirtualHost>

please let me know what does it mean /b2b/ & /b2c/, instead of b2b & b2c can I add /irj/portal??.

Portal is running on port 80 and Apache is on port 8888, and url to access portal is http://myportal. I added the above to httpd.conf file. Now my apache is not running.

I'm unable to follow section 5.

Also let me know what section should I read in apache site?

Please let me know how to fix this problem.

Chandra.

Former Member
0 Kudos

Finally I solved both problems, able to use Apache as an intermediate server + configured it as reverse proxy to handle dual domains.

Chandra.

gregorw
Active Contributor
0 Kudos

Hi Chandra,

have you more details about your solution. Could be very usefull for other SDN Members. You can publish it and receive points for it.

Regards

Gregor

Former Member
0 Kudos

Gregor,

See my response in the following thread.

/thread/65056 [original link is broken]

Chandra.

Answers (0)