|
Fedora™ Unleashed, 2008 editionThe optional class parameter enables messages to be shown to only a given class or classes of users. Using messages is a good way to give information about where things are on your site as well as information that is system dependent, such as alternative sites, general policies regarding available data, server availability times, and so on. You can use magic cookies to breathe life into your displayed messages. Magic cookies are symbolic constants that are replaced by system information. Table 20.1 lists the message command's valid magic cookies and their representations. TABLE 20. An entry of: message /home/ftp/welcome.msg login message /welcome.msgВ В В В В В В В В login shows the contents of the welcome.msg file to all authenticated users who log in to the server. The second entry shows the same message to the anonymous user. The welcome.msg file is not created with the installation of the RPM, but you can create it using a text editor. Type the following: Welcome to the anonymous ftp service on %L! There are %N out of %M users logged in ...» |
Код для вставки книги в блог HTML
phpBB
текст
|
|