The viewdata.html file is very simple, using only the two directives to insert the server data, plsut other directives to insert other information. For the Admin Server, the SHOW_DATA directive takes the information from the /etc/opt/dirsrv/admin-serv/local.conffile. For the Directory Server, it takes the data from the

/etc/opt/dirsrv/slapd-instance_name/dse.ldif file. The ID_TITLE is the name of the server instance.

<body text="#000000" bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366">

<br>

<table BORDER=0 CELLSPACING=2 CELLPADDING=2 WIDTH="100%"> <!-- ID_TITLE -->

<p>

<!-- SHOW_DATA --> <p>

<font face="PrimaSans BT, Verdana, sans-serif"><font size=-1>Additional Information:</font></font>

<p>

<!-- CHECK_UPGRADE --> <p>

<!-- SHOW_URL --> </table>

<!-- HELPBUTTON -->

</body>

3.2.2.4 Files for the server logs page

There are two files formatting the server logs page:

The body of the page, /opt/dirsrv/share/html/viewlog.html

The heading of the page, /opt/dirsrv/share/html/htmladmin.html

Figure 3-10 Log view page elements

The page information is set through the inserted directives. The server instance name is set in the ID_TITLE directive. The log is displayed through the ACCESS_LOG directives. The form at the top is formatted with directive pairs, one which sets the descriptive text and the other inserting the field type. For example, this sets the log type menu:

<form method=GET action=ViewLog>

<font face="PrimaSans BT, Verdana, sans-serif"><font size=-1>

3.2 Configuring Admin Express 41