Re: Using a MOTD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dan_b@xxxxxxxxxxx wrote:

Thanks Brian. Using the "Has_Seen_MOTD" cookie idea is was I thinking of as well. And that's the way the CPAN Apache::MOTD does it. But, I thought the only easy way of reading and writing cookies would require Perl. I guess I was hoping someone would say there is some item in the http.conf file that I could set that would do redirects to the MOTD which then redirect to the originally requested page.
I'm a great fan of mod_perl myself, but in this case you might want to have a look at the "cookie" flag of mod_rewrite:
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
search for "cookie".

And, AFAIK, by default the cookie should be session-only.

---------------------------------------------------------------------
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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux