Re: Is it possible for Apache to randomly select different URLs to serve up?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 18 Apr 2007 13:03:39 -0700 (PDT)
mraible <matt@xxxxxxxxxxxxxxxxx> wrote:

> 
> Is it possible for Apache to randomly select different URLs 

The browser requests a URL.  What apache serves at that URL
is your business and can of course be random.

> User1 -> http://my.domain.com/1
> User2 -> http://my.domain.com/2
> User3 -> http://my.domain.com/3

Many ways to do that.  For example, RewriteMap.

> For those users who come in w/o a "v" parameter or "v" cookie, I'd
> like to evenly distribute them to the different version of the site.

That's called load balancing.  You want mod_proxy_balancer.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux