httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] Using a MOTD
Date Wed, 04 Feb 2009 09:02:11 GMT
On 02.02.09 18:00, 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, ;
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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message