Go to the first, previous, next, last section, table of contents.
The following summarizes the operations involved in the downloading
process.
The first time an user requests the URL
http://www.dia.uniroma3.it/cgi-bin/gdt/download-cgi.pl, the
gateway program recognize a first access (from the lack of parameters)
and replies with a form the user is asked to fill-in.
After the user submittal, an html page is sent back to him
(for thanks and other stuff).
The chosen package is attached to an e-mail
and sent immediately to the e-mail address specified in the form.
Meanwhile a log file is updated with information about the date,
the remote host accessing, and the form field as filled in by the
user.
Configuration files allow to:
The following few sections are devoted to the above tasks. Other tasks (including troubleshooting) are more difficult to treat.
First place the new packet in the directory `~gdt/public/cgi-bin/files'. Then the file `~gdt/public/cgi-bin/corrispondences' and add two lines: the first containing a short description of the packet, the second the name of the file to be attached to the reply-mail when such an item is selected by the user.
Edit the file `~gdt/public/cgi-bin/corrispondences' and remove the two lines corresponding to the item to the packet you want to make unavailable.
Edit the file `~gdt/public/cgi-bin/form.html'.
Note that the following token must appear on a
line by itself:
<!--INSERT_SELECT_ITEMS_HERE-->
between the html markups
<select>
and </select>
.
The <!--INSERT_SELECT_ITEMS_HERE-->
token is a placeholder
that will be automatically replaced with the correct
<option>
markups (derived from the
`~gdt/public/cgi-bin/corrispondences' file)
when the html form page is sent back to the user.
Simply edit the file `~gdt/public/cgi-bin/reply.mail'.
The following placeholders may be used:
<!--INSERT_SELECTED_ITEM_HERE-->
<!--INSERT_EMAIL_ADDRESS_HERE-->
<!--INSERT_SELECTED_FILE_HERE-->
<!--INSERT_NAME_HERE-->
Simply edit the file `~gdt/public/cgi-bin/reply.html'.
The following placeholders may be used:
<!--INSERT_SELECTED_ITEM_HERE-->
<!--INSERT_EMAIL_ADDRESS_HERE-->
<!--INSERT_SELECTED_FILE_HERE-->
<!--INSERT_NAME_HERE-->
In the following a list of possible failures is given to help the debugging phase.
www.dia.uniroma3.it
hasn't enough disk
space to send the mail. /var
(the culprit is the
`/var/spool/mqueue/' directory, where the mail queue is).
If the disk space is very small you can free it by:
Errors are changes in the system status that lead to failures when
the appropriate function is used. Here errors (and not the
corresponding failures) are listed, for it is easier to signal
wrong configurations rather that try to figure out which
failure will show up first.
If some unexplicable failure turns up, then tick out the list
below.
Go to the first, previous, next, last section, table of contents.