On 02.02.09 18:00, dan_b@xxxxxxxxxxx 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 <aw@xxxxxxxxxx> 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@xxxxxxxxxxx ; 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 <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx