summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www/mod_random/files/17_mod_random.conf')
-rw-r--r--net-www/mod_random/files/17_mod_random.conf38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-www/mod_random/files/17_mod_random.conf b/net-www/mod_random/files/17_mod_random.conf
new file mode 100644
index 000000000000..4cca3f867fb1
--- /dev/null
+++ b/net-www/mod_random/files/17_mod_random.conf
@@ -0,0 +1,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>
+