httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Is it possible for Apache to randomly select different URLs to serve up?
Date Wed, 18 Apr 2007 20:22:26 GMT
On 4/18/07, Serge Dubrouski <sergeyfd@gmail.com> wrote:
> A simple JavaScript serving as a main page and redirecting users to a
> random URI from your site would do. I don't think that it would be
> possible to do on Apache configuration level
>
> On 4/18/07, mraible <matt@raibledesigns.com> wrote:
> >
> > Is it possible for Apache to randomly select different URLs to serve up?  For
> > example:
> >
> > User1 -> http://my.domain.com/1
> > User2 -> http://my.domain.com/2
> > User3 -> http://my.domain.com/3

Actually, mod_rewrite can do it using a rnd: RewriteMap.

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message