http://server/cgi-bin/wdb/database/form-name/mode/keys
Where ...
http://server is the base URL to the HTTP server where you have installed WDB.
/cgi-bin/wdb/ is the path on the HTTP server to where you
installed WDB. This example assumes that you have a special directory where
you keep your CGI scripts called /cgi-bin
. If your server are
configured to run scripts depending on a file extension (say .cgi) then
you'd have to rename the cgi script (say to wdb.cgi) and change to above
path accordingly.
database is the name of the subdirectory where you have
stored the fdf files you are trying to access - typically you would name
this directory after the database the fdf files are accessing.
(This would be a subdirectory to the directory you defined in $formdir
in the configuration file.)
- If you only have one database and one or two fdf's this might seem
ridiculous, but wdb was designed to handle a large number of fdf's in
many different databases.
form-name is the name of the fdf file you want to
use - without the '.fdf
' extension.
mode is the mode in which you want to start WDB. This
can be one of 'form
', 'query
' or
'default
'. See below for details ....
keys is only used in the 'query
' mode. See
Query Mode for details.
Here is an example
http://arch-http.hq.eso.org/cgi-bin/wdb/eso/sched_rep/form. This is
the ESO Telescope Schedule Report located in
$formdir/eso/sched_rep.fdf
.
For example :
mkfdf will automatically add a field like the one above to your fdf files but you might want to modify it, or add url tags to other fields to create links from one form to another.
default
field attribute in the fdf. The values in the 'default' field attributes are
used as query constraints and the result shown in tabular output
format.Here is an example - The ESO Telescope allocation schedule starting from today :
http://arch-http.hq.eso.org/cgi-bin/wdb/eso/sched_rep/default
Try to click on the Query button and see the default query in the 'Starting' field.