From f761fd31208e12850393c1fa2d5b217715efcd96 Mon Sep 17 00:00:00 2001 From: "\"Marc Tamsky (marc.tamsky@openx.com)\"" <"Marc Tamsky (marc.tamsky@openx.com)"> Date: Fri, 24 Jan 2014 13:14:16 -0800 Subject: [PATCH] if the hostname begins with mondemand, add a useful default redirect --- web/conf/mondemand.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/conf/mondemand.conf b/web/conf/mondemand.conf index efb8bf8..60047e5 100644 --- a/web/conf/mondemand.conf +++ b/web/conf/mondemand.conf @@ -1,3 +1,8 @@ +RewriteEngine on +# If your hostname begins with 'mondemand', then enable a default redirect: +RewriteCond %{HTTP_HOST} ^mondemand [NC] +RewriteRule ^/$ /mondemand/drraw.cgi [R,L] + Options +ExecCGI AddHandler cgi-script .cgi