DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using DocView

Disabling network documentation service

The DocView server is initially configured to serve the documentation to any machine on your network. You can change the configuration to only serve to browsers running on the same machine.

  1. As root, edit the file /usr/lib/docview/conf/httpd.conf to change the directive ServerName from the fully qualified network name for the machine to 127.0.0.1. For example:
       ServerName  127.0.0.0
    

  2. In the same file, add this directive:
       BindAddress  127.0.0.1
    

  3. In the same file, change the Listen directive to the following:
       Listen   127.0.0.0:8458
    

  4. Save the file and restart the DocView server with this command:
       /etc/docview restart
    

  5. If the search index has not been run since installation, then do the following step (a). If the search index has been run already, then do step (b). You can tell if it has been run because the file /usr/lib/docview/en/htdig.conf is not zero length (which means it has been configured).

    1. Edit the file /usr/lib/docview/conf/install.conf and change:
         $HOMENAME=`hostname`;
             to
         $HOSTNAME="127.0.0.1";
      
      Now when the index is run for the first time, it will be configured only for local access.

    2. If the index has already been run at least once, then edit the file /usr/lib/docview/en/htdig.conf and change all instances of your fully qualified network hostname to 127.0.0.1. Be sure to leave the port number as 8458.

  6. If the search index has been generated, it will have to be entirely rebuilt because the file addresses in the database use the local address, not the network address. If you don't rebuild it, only local users can use the search function successfully. To rebuild the search index, or to build it for the first time, run this command:
       /usr/lib/docview/conf/rundig -i
    

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004