Note: This documentation is for an old version of Webinator. The latest documentaion is here.

Set database name (-d)

 

Syntax: -dDB

Use the database named DB. The default is to use the database in the current directory if one exists. If a database does not exist in the current directory you will be asked if it is OK to use the default search database as installed into your Web server document directory. Specifying -d- will use the default search database without asking.

e.g.: ``gw -d/tmp/testdb'' uses the database in /tmp/testdb.

e.g.: ``gw -d/usr/local/etc/httpd/htdocs/webinator/fun'' uses the database in /usr/local/etc/httpd/htdocs/webinator/fun.

For a database to be accessible to the Webinator search program it must be fully specified in the search script or be specified from the default search form using the db variable.

Examples:

In the search script: <DB=/usr/local/etc/httpd/htdocs/webinator/fun>

In a URL: http://www.mysite.com/cgi-bin/texis/webinator/search?db=fun

or: http://www.mysite.com/cgi-bin/texis.exe/webinator/search?db=fun

In the search form: <input type=hidden name=db value=fun>


Copyright © Thunderstone Software     Last updated: Tue Nov 6 10:58:47 EST 2007
Copyright © 2024 Thunderstone Software LLC. All rights reserved.