You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rashmi Rubdi <de...@yahoo.com> on 2006/11/12 03:53:37 UTC

Re: mod_rewrite - round robin

Hi Mary, 

This is the Tomcat Users Mailing list. 

Since your question involves Apache HTTP Server there's a separate mailing list for it.

More details about it are here: http://httpd.apache.org/lists.html

-Rashmi

----- Original Message ----
From: "Michael, Mary" <mm...@informatica.com>
To: users@tomcat.apache.org
Sent: Saturday, November 11, 2006 9:25:59 PM
Subject: mod_rewrite - round robin


Hope someone can help me with this, I am new to apache.



My requirement is to route a given URL to 3 different URLs in a round
robin fashion.



Eg: www.myhost.com <http://www.myhost.com/>   should be routed the first
time to www.myhost1.com <http://www.myhost1.com/> . The second time to
www.myhost2.com <http://www.myhost2.com/>  and third time to
www.myhost3.com <http://www.myhost3.com/>  and so on.



I read and understood that it can be done using apache and using
mod_rewrite plugins.



I am going through:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html. However this
one does not talk about clear steps on which file to be modified and
where the lb.pl should be created,...



Any reference and guidance will be appreciated.



Thanks



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: mod_rewrite - round robin

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mary,

Rashmi is right; this question belongs on a different list. However, it
might not be the Apache httpd list.

Usually, people implement round-robin load distribution using DNS
round-robining, instead of resorting to web server configuration tricks.
Try looking into setting up more than one IP address for your domain name.

- -chris

Rashmi Rubdi wrote:
> Hi Mary, 
> 
> This is the Tomcat Users Mailing list. 
> 
> Since your question involves Apache HTTP Server there's a separate mailing list for it.
> 
> More details about it are here: http://httpd.apache.org/lists.html
> 
> -Rashmi
> 
> ----- Original Message ----
> From: "Michael, Mary" <mm...@informatica.com>
> To: users@tomcat.apache.org
> Sent: Saturday, November 11, 2006 9:25:59 PM
> Subject: mod_rewrite - round robin
> 
> 
> Hope someone can help me with this, I am new to apache.
> 
> 
> 
> My requirement is to route a given URL to 3 different URLs in a round
> robin fashion.
> 
> 
> 
> Eg: www.myhost.com <http://www.myhost.com/>   should be routed the first
> time to www.myhost1.com <http://www.myhost1.com/> . The second time to
> www.myhost2.com <http://www.myhost2.com/>  and third time to
> www.myhost3.com <http://www.myhost3.com/>  and so on.
> 
> 
> 
> I read and understood that it can be done using apache and using
> mod_rewrite plugins.
> 
> 
> 
> I am going through:
> http://httpd.apache.org/docs/2.0/misc/rewriteguide.html. However this
> one does not talk about clear steps on which file to be modified and
> where the lb.pl should be created,...
> 
> 
> 
> Any reference and guidance will be appreciated.
> 
> 
> 
> Thanks
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFVzCr9CaO5/Lv0PARAuadAJ9Aq7YmlWvbwN+O7sBlAUw7E2tTJQCgiuMe
sLcGRdzfKUQzis8Kt8angmA=
=aOFT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org