To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-14-2002, 11:35 AM   #1
jasongonella
Junior Member
 
Join Date: Mar 2001
Posts: 21
load balancing

The horrible world of apache modules:

When a request hits 'server a', if I want to redirect half of the users to another server while keeping the url the same in the browser, I think I'd use mod_rewrite.
i.e. I want one website to be using 2 or more servers.

Am I barking up the right tree? More specifically, do you know what apache directives are needed for this? I've read copious amounts of apache documentation, but there's so much there, and it's not easy. If I can tip-toe around the modules and achieve the desired goal, then this would be great.

Many thanks if you can assist.

Regards,

Jason
jasongonella is offline   Reply With Quote
Old 10-14-2002, 12:03 PM   #2
dotwebbie
Expert at something . . .
 
Join Date: Aug 2002
Posts: 287
I know of a couple of php scripts if you want to go that way instead . . . If not, give me a little time and I'll do some exploring.
dotwebbie is offline   Reply With Quote
Old 10-14-2002, 12:06 PM   #3
jasongonella
Junior Member
 
Join Date: Mar 2001
Posts: 21
php script approach will be far slower, as apache will have to access the relevant directory and then redir to another dir on another server.

This problem should be solved from the apache level I think.
jasongonella is offline   Reply With Quote
Old 10-14-2002, 12:16 PM   #4
dotwebbie
Expert at something . . .
 
Join Date: Aug 2002
Posts: 287
Okay. Let me do some exploring then and I'll let you know asap.
dotwebbie is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


All times are GMT -4. The time now is 01:54 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.