cancel
Showing results for 
Search instead for 
Did you mean: 

Configure reverse proxy using Apache 2.2.15

Former Member
0 Kudos

Dear Experts,

I am in the process of configuring reverse proxy for my portal so that ppl outside the network can access my servers.

We are on SUSE Linux 10 SP2, installed Apache 2.2.15 and started apache successfully.

When i run command ps -ef | grep httpd, i get list of processes that are running.

But when i open mozilla on the server where i installed apache and type http://myhost.domian.com:8080 it doesnt display any screen.

I still assume that my apache is running. Please correct me on the above.

Now i have configured my httpd.conf based on help.sap.com and various threads on sdn and it looks something like below

====================================================================================================

ProxyPass /irj http://myhost.mydomian.com:50100/irj/

ProxyPassReverse /irj http://myhost.mydomian.com:50100/irj/

ProxyPreserveHost On

#####################################r Reverse Proxy

ProxyRequests off

ProxyPreserveHost On

<VirtualHost 172.XXX.XX.XX:80>

#DocumentRoot Webserver doc root, eg "C:/.../htdocs"

#ServerName <http:// Domain Name eg www.domainA.com >

#ErrorLog logs/Domain.com-error_log

#CustomLog logs/Domain.com-access_log common

(Commented the above lines as i did not understand what i need them for.. please help on the above)

RewriteEngine On

RewriteLog logs/myhost_unsecured_rewrite.log

RewriteLogLevel 9

<Directory />

Options None

AllowOverride None

</Directory>

RewriteRule ^/(.*)$ http://myhost.mydomian.com:50100/$irj1/ NC,P

ProxyPassReverse /irj http://myhost.mydomian.com:50100/

</VirtualHost>

###################################################################################

With the above configuration will i be able to acheive my goal of using this server as my reverse proxy and also for redirecting the host name.

Please help me on the above

Thanks and regards

Hunky

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

If you search for "reverse proxy apache" you'll find quite lots of resources (blogs, articles) here on the SDN.

You may start with

Markus