The content publish notifier is provided as the MpupdtCntnts command.
The MpupdtCntnts commands for each execution environment are stored at the following locations on this product's DVD-ROM:
<DVD-ROM>\tools\seq\windows\MpupdtCntnts.exe |
<DVD-ROM>\tools\seq\solaris\MpupdtCntnts |
<DVD-ROM>\tools\seq\linux\MpupdtCntnts |
Note
Use the proper command for the platform used. Using an improper command will result in operation failure.
Format
MpupdtCntnts -m <IP address> -p <port number> -u <content publish URL> [-f <content original file>] [-d] |
MpupdtCntnts -m <IP address> -p <port number> -l <content list file> |
Function
This command notifies (for registration or deletion) the Contents Tampering Monitor on the Management Server of content information.
Options
Deletes content information.
Specifies the IP address of the Management Server in dot format.
Specifies the port number of the Management Server in decimal notation.
*This port number is the same as that used for connection to the Management Console. It is normally 80.
Specifies the URL of the noticen target content on the Web server.
The URL can be specified with up to 1,023 ASCII characters. Leading http:// can be omitted.
*The -u option is disabled if the -l option is specified.
Specifies the absolute path of the original file of the notice target content.
The path can be specified with up to 1,023 ASCII characters.
*If this option is omitted, information is collected from the URL on the Web server and registered as the data of the content original copy.
*The -f option is disabled if the -l option is specified.
Specifies the absolute path of the file that contains the list of the notification target contents.
The path can be specified with up to 1,023 characters.
Point
In the content list file, one or more pairs of content publish URL (corresponding to the -u option) and content original file (corresponding to the -f option) can be defined. The content list file can thus be used to notify multiple sets of content information in a batch.
For information on the file format, refer to "18.1.1.1.3 Content list file format".
When the -l option is specified, the following two files are created in the same directory as the content list file:
<content list file name>.lst
If a notice error occurs, the line on which an error occurred in the content list file is output as is. If no notice error occurs, the file is empty.
<content list file name>.err
If a notice error occurs, refer to the contents of both files by associating the corresponding line numbers and check for error causes.
The file with extension .lst is useful for re-notifying only the content where an error occurred.
Note
The -u and -f options are disabled if the -l option is specified.
End status
0
Normal end
>0
Abnormal end
Output message
Refer to "17.1.2 Content publish notifier".
Examples
[Windows]
Example 1: To register content information from URL on the Web server
C:\> MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html |
Example 2: To register content information by specifying the content
C:\> MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html -f C:\OriginalHTML\index.html |
Example 3: To delete content information
C:\> MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html -d |
Example 4: To register content information in a batch using a content list
C:\> MpupdtCntnts -m 10.0.0.1 -p 80 -l C:\OriginalHTML\LIST |
[UNIX]
Example 1: To register content information from URL on the Web server
$ MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html |
Example 2: To register content information by specifying the content original copy
$ MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html -f /var/OriginalHTML/index.html |
Example 3: To delete content information
$ MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html -d |
Example 4: To register content information in a batch using a content list file
$ MpupdtCntnts -m 10.0.0.1 -p 80 -l /var/OriginalHTML/LIST |
The content list file is a text format file in which notice information for one piece of content is written on one line.
Line format
<operation>,<content original file>,<content publish URL> |
Field
Specifies one of the following types of operation for content:
a:Register
d:Delete
I:Ignore
Point
This operation is useful if it is used as follows: Prepare a list that covers all pieces of content to be noticed and change only the operation field properly when new notice or update notice is needed.
Specifies the absolute path of the original file of the content to be noticed.
The path can be specified with up to 1,023 ASCII characters.
Specifies the URL of the notice target content on the Web server.
The URL can be specified with up to 1,023 ASCII characters. Leading http:// can be omitted.
If this option is omitted, information is collected from the URL on the Web server and registered as the data of the content original copy.
Examples
[Windows]
Example 1: To register content information from URL on the Web server
a,,http://www.aaa.bbb.ccc.com/index.html |
a,,http://www.aaa.bbb.ccc.com/image/mark.gif |
Example 2: To register content information by specifying the content original copy
a,C:\OriginalHTML\index.html,http://www.aaa.bbb.ccc.com/index.html |
a,C:\OriginalHTML\image\mark.gif,http://www.aaa.bbb.ccc.com/image/mark.gif |
[UNIX]
Example 1: To register content information from URL on the Web server
a,,http://www.aaa.bbb.ccc.com/index.html |
a,,http://www.aaa.bbb.ccc.com/image/mark.gif |
Example 2: To register content information by specifying the content original copy
a,/var/OriginalHTML/index.html,http://www.aaa.bbb.ccc.com/index.html |
a,/var/OriginalHTML/image\mark.gif,http://www.aaa.bbb.ccc.com/image/mark.gif |