Configuration Files to Verify
Configuration Files to Verify
In addition to the files mentioned in the previous section Common Problems with Indexes in Section VI - Troubleshooting, you should also verify your configuration files to ensure that your indexing is responding the way you have intended to set it up.
archive.cfg - This is the configuration file for your indexed archive. For each archive you create you will have a corresponding archive.cfg file. For each option that you select in the Webglimpse administration interface, there will be a setting in this configuration file. If you find that your archives are not being indexed as you expected, this would be a good place to start to explore what is happening.
Settings contained within this file, include:
- title String - Title of search as placed in wgindex.html
- urlpath - URL to archive directory (unused in v1.6 & above)
- traverse_type - 0 for Traversal of local links only, 1 for Traversal of remote and local links, 2 for Subdirectory-based archive
- explicit_only - 0 for traversal of any link, explicit or non-explicit, 1 for traversal of only explicit links to remote sites
- numhops - # of hops to traverse from starting page
- nhhops - # of hops to allow for each neighborhood
- local_limit - maximum # of local pages to index
- remote_limit - maximum # of remote pages to index
- addboxes - 0 to NOT ADD search boxes to all indexed pages, 1 to ADD search boxes to all indexed pages
- vhost - name of virtual host to use for this index
- usemaxmem - 0 to NOT USE maximum available memory, 1 to USE maximum memory to speed up indexing
- urllist - List of starting URL's or Directories to index
wgsitesconf - This file defines settings for your Webglimpse application on a site level. The settings contained in this file control how Webglimpse works for each archive contained on your site.
Settings contained within this file, include:
- SERVER - your domain name
- PORT - the port your Webglimpse application runs on
- DOCUMENTROOT - Your web servers document root home
- USERDIR - the default public html directory
- DIRECTORYINDEX - the name of the default html page for your webserver
- ALIAS - web directory alias for your optional use (for example, an alias to your icon directory)
- ALIAS - web directory alias for your optional use (for example, an alias to your msql directory)
- SCRIPTALIAS - the alias directory to your cgi-bin directory