SysAdmin: Getting Your Message Across with Apache

By ServerWatch Staff (Send Email)
Posted Feb 17, 2001


"The module is called Apache::Motd. As the name implies, this module works on Apache Web servers and is based on the "Message Of The Day" (or motd) utility found on UNIX systems. This module equips a Web server with the same functionality provided by motd. Once the module is installed, the administrator can configure the Web server to display the message of the day to every user accessing any Web page on the server. It momentarily intercepts the initial request and displays the contents of the motd file, then the user is redirected to the originally requested document. The initial request also sets a cookie so that subsequent visits are not directed to the message of the day. Several parameters allow administrators to customize this process, such as the contents of the message of the day, the length of time the message is displayed before it redirects the user, and cookie expiration. Before describing these options in more detail, I will give a brief overview of mod_perl and how it can be used to customize the stages of individual HTTP transactions."

The module is called Apache::Motd. As the name implies, this module works on Apache Web servers and is based on the Message Of The Day (or motd) utility found on UNIX systems. This module equips a Web server with the same functionality provided by motd. Once the module is installed, the administrator can configure the Web server to display the message of the day to every user accessing any Web page on the server. ... Before describing these options in more detail, I will give a brief overview of mod_perl and how it c

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.