summaryrefslogtreecommitdiff
blob: 4cca3f867fb1f13f8ec5c084beb8201389095721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<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>