You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Michael, Mary" <mm...@informatica.com> on 2006/11/12 03:25:59 UTC
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