Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 81807 invoked from network); 4 Feb 2009 09:02:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2009 09:02:52 -0000 Received: (qmail 77770 invoked by uid 500); 4 Feb 2009 09:02:42 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 77758 invoked by uid 500); 4 Feb 2009 09:02:42 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 77749 invoked by uid 99); 4 Feb 2009 09:02:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 01:02:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of uhlar@fantomas.sk designates 195.168.3.66 as permitted sender) Received: from [195.168.3.66] (HELO fantomas.fantomas.sk) (195.168.3.66) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 09:02:33 +0000 Received: from fantomas.fantomas.sk (uhlar@localhost [127.0.0.1]) by fantomas.fantomas.sk (8.13.8/8.13.8/Debian-3) with ESMTP id n1492Bfr007759 for ; Wed, 4 Feb 2009 10:02:11 +0100 Received: (from uhlar@localhost) by fantomas.fantomas.sk (8.13.8/8.13.8/Submit) id n1492B6a007758 for users@httpd.apache.org; Wed, 4 Feb 2009 10:02:11 +0100 X-Authentication-Warning: fantomas.fantomas.sk: uhlar set sender to uhlar@fantomas.sk using -f Date: Wed, 4 Feb 2009 10:02:11 +0100 From: Matus UHLAR - fantomas To: users@httpd.apache.org Message-ID: <20090204090211.GB7248@fantomas.sk> Mail-Followup-To: users@httpd.apache.org References: <4df3a1330902020957n8ef21fcpab608323a6068de7@mail.gmail.com> <1204062193.729241233597642045.JavaMail.root@sz0036a.westchester.pa.mail.comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1204062193.729241233597642045.JavaMail.root@sz0036a.westchester.pa.mail.comcast.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Using a MOTD On 02.02.09 18:00, dan_b@comcast.net wrote: > Thanks gentlemen. I'll look into that. Appreciate the help! be careful what to do with people that have cookies disabled. You shouldn't redirect them always to the MOTD. > On Mon, Feb 2, 2009 at 12:42 PM, Andr� Warnier wrote: > Right-o. You can use RewriteCond in the httpd.conf file to check for > the cookie, and only apply the rewrite rule if the cookie is not > present (i.e., it's value is an empty string). The rewrite rule can > then redirect to the MOTD page, and use the [co] flag on the rule to > set the cookie. > > So I think that's what you're looking for. As far as I can imagine, > there's no way to reliably redirect one request per session without > using cookies, but that doesn't mean you have to use perl, if you > don't want. -- Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. If Barbie is so popular, why do you have to buy her friends? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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