Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-05-2006, 10:10 PM   #1
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
Apache Modules [load balancing] smart clustering

I'm having an issue with apache and I google_d about it but almost what I've found is confusing
it's about clustering and load balancing
I've 5 servers
1- apache+mod_proxy so I can load balance or round robin [balancer]
2- apache+mod_jk so I can use ajp.xx protocol to talk to java based app-server [apache_1]
3- the same as 2 [apache_2]
[actually apache_1&2 are balancers too in between the 2 app-servers]

4 and 5 are two app-servers

we can access any of them http or https

my issue is with the first one
right now I'm able to add within the ProxyPass directive something like that
BalancerMember http://apache_1/something
BalancerMember http://apache_2/something


BalancerMember https://apache_1/something
BalancerMember https://apache_2/something

so when I hit http://balancer/something or https://balancer/something
it will redirect me either to Member 1 or 2 depending on what I added as BalancerMembers

what I need to do is to use the 4 URL_s
BalancerMember http://apache_1/something
BalancerMember http://apache_2/something
BalancerMember https://apache_1/something
BalancerMember https://apache_2/something

and when I hit http://balancer/something it uses the HTTP pairs
and when I hit https://balancer/something it uses the HTTPS pairs

Got me?
I think that could be done using a module that can redirect/filter depending on the header [but i didn't know which]
or through something like virtual host but it would be a lot better if it is the same URL and just the different is http/https
any ideas?

Last edited by ziox; 04-05-2006 at 10:17 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Balancing turbo_acura Linux - Networking 4 01-27-2006 08:44 PM
how to do load balancing? yenonn Linux - Networking 2 07-27-2004 09:20 PM
load balancing on rh ntaizi Linux - Software 0 12-17-2003 06:41 AM
Load Balancing? gsibble Linux - Networking 3 12-09-2003 10:39 PM
Load balancing ?? Lucsi Linux - Newbie 1 07-16-2002 12:54 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration