logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Need help with Apache Config
Author
megatron521



Joined: 25 Jun 2014
Posts: 1
Location: USA

PostPosted: Wed 25 Jun '14 19:33    Post subject: Need help with Apache Config Reply with quote

Hello folks,
I have an application running on 3 Linux boxes and listening on port 8001

The application can only access logs available on that linux box on port 8001

What could be Apache configuration to listen on port 80 and distribute the traffic to 3 weblogic JVMS running on linux boxes ?

But the tricky part is, if user selects linux box1 in the application, the request needs to goto linux box1 JVM

Any help would be appreciated
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Sat 28 Jun '14 11:56    Post subject: Reply with quote

Apache as reverse proxy with loadbalancing can do the trick. You can access your backend server via http or https or ajp.

There are some good examples for apache 2.4. Even if you have to compile 2.4 yourself if it is not in your linux distro it is worth doing it.

http://httpd.apache.org/docs/current/mod/mod_proxy_ajp.html
http://httpd.apache.org/docs/current/mod/mod_proxy_balancer.html

if you still have a question please ask again
Back to top


Reply to topic   Topic: Need help with Apache Config View previous topic :: View next topic
Post new topic   Forum Index -> Apache