Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-23-2008, 03:19 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
i need help for load balancing setting apache web server

ProxyPass /balancer-manager !

ProxyPass / balancer://mycluster/ stickysession=BALANCEID nofailover=On
ProxyPass /go
ProxyPassReverse /go
ProxyPassReverse /
ProxyPassReverse /

<Proxy balancer://mycluster stickysession=BALANCEID>
BalancerMember route=http1

BalancerMember route=http2

ProxySet lbmethod=byrequests

The above configuration is my load-balancing httpd file. I have 3 webserver and two of them are backend web servers ( , One of my backend web servers contains a directory called go. When i enter URL "http://localhost/go/index.php", Sometime it works as it proxies to and sometime it doesnt work as it proxies to .

So what should i do in order to make it works at all times
Old 06-23-2008, 04:20 AM   #2
Registered: Feb 2004
Location: UK
Distribution: RHEL5/6, Solaris 10/11, NetBSD, OpenBSD, FreeBSD, MacOS
Posts: 222

Rep: Reputation: 42

I might be misunderstanding you here, but you either need to make the "go" directory exist on both servers, or you'll probably need to use mod_rewrite to achieve this. Could be wrong bu that's what it looks like to me. Simplicity is always best in my opinion so can you make this exist on both servers?

Old 06-23-2008, 03:06 PM   #3
LQ Newbie
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
cos i want some file to be store in one server

Because i want one backend web server to store (report data) (localhost/go/report.php) and other backend server to store forum page (localhost/forum/page.php) . So i should use mod-rewrite in order to make it work right?



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
Web hosting / Load balancing phatboyz Linux - Networking 1 09-08-2006 06:10 AM
Load balancing for a web site czamora Linux - Software 2 06-12-2006 04:29 PM
Setting Up a linux router - with load balancing ? yahooadam Linux - Networking 5 01-30-2006 09:37 AM
setting up a web server using apache Whatshisface Linux - Newbie 14 12-11-2004 03:01 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM

All times are GMT -5. The time now is 05:57 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