<IfDefine HAVE_RANDOM>
  <IfModule !mod_random.c>
    LoadModule random_module    extramodules/mod_random.so
  </IfModule>
</IfDefine>

<IfModule mod_random.c>

<Location /random>

    SetHandler random
    RandomURL http://www.gentoo.org/
    RandomURL http://www.freshmeat.net/
    RandomURL http://www.slashdot.org/
    RandomURL /random-quote
    RandomURL /random-ad

</Location>

<Location /random-quote>

    RandomEngine On
    SetHandler random-quote-page
    RandomQuote "<P>I guess it was all a DREAM ... or an episode of HAWAII FIVE-O ...</P>"
    RandomQuote "<P>Life is cheap, but the accessories can kill you.</P>"

</Location>

<Location /random-ad>

    RandomEngine On
    SetHandler random-ad-page
    RandomAd "<P>Visit <a href=http://www.gentoo.org/>Gentoo Linux</a> today!</P>"

</Location>

</IfModule>