Chapter 3. Admin Express
print ".text8
print ".text28 {color: #ffcc33; font-size: 12px; font-weight: bold;}\n";
print ".areatitle {font-weight: bold; color: #ffffff; font-family:
Arial, Helvetica, sans-serif}\n";
print ".page-title {font-weight: bold; font-size: larger; font-family:
Arial, Helvetica, sans-serif}\n";
print ".page-subtitle {font-weight: bold; font-family: Arial, Helvetica,
sans-serif}\n";
print "</style></head>\n<body class=bgColor4>\n";
3.2.2.3. Files for the Server Information Page
There are two files formatting the server information page:
• The body of the page, /usr/share/dirsrv/html/viewdata.html
• The heading of the page, /usr/share/dirsrv/html/htmladmin.html
Figure 3.9. Server Information Page Elements
The viewdata.html file is very simple, using only the two directives to insert the server data, plus
other directives to insert other information. For the Admin Server, the SHOW_DATA directive takes the
information from the /etc/dirsrv/admin-serv/local.conf file. For the Directory Server, it
takes the data from the /etc/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">
44
{color: #0099cc; font-size: 11px; font-weight: bold;}\n";