Next: Specific documentations
Up: DPAccess: DPbox Common Gateway
Previous: DPAccess-1.0 - 8th June
  Contents
The scripts called by the web server are made in Tcl language: in this
way they are easely adjustable and testable, and also they are very fast. Infact,
Tcl is one of the faster scripting language, much more than Perl either enabling
mod_perl.
The scripts, which must be put into the cgi-bin directory of the web server,
are:
- [dp.tcl]the main script
- [dplog.tcl]administration tool to read the log created
Other text files, contained in a directory reachable by the web server such
as /home/www/html/dpbox, are used in support to dp.tcl main script:
- [dptext.*]language specific file, which permit the internationalization
of the script; i.e. just create the dptext.ru file to implement russian
language
- [xxxx.css]where xxxx is the name of the cascading stylesheet specification
for all pages generated by dp.tcl.
Few C programs are provided, and they will be put in the /usr/local/*bin directories:
- [dpaccess_pass]SUID root program used to authenticate and add new
users
- [dpgate]original DL8HBS program with few modifications
- [dpprivlinks]similar to dpputlinks, is used to convert dpgate text
output in HTML
and finally, some utilities like:
- [adddpbox]simplest bash script based on dpaccess_pass which add a
new user, insert a new line on reject.box to hold his sent messages, and finally
send a mail to the dpbox administrator (which can be an alias to cover all administrators)
informing that the user have been added.
- [Makefile]within definition of how C programs must be compiled, and
where all files must be copied.
From a shell, you must type make to compile the C programs, then type
su - to obtain a root shell, finally make install to install all
needed files in the appropriate directories.
Note: there are some definitions which you must changed in the top of
Makefile, dp.tcl, dpaccess_pass.c and dpprivlinks.c.
Next: Specific documentations
Up: DPAccess: DPbox Common Gateway
Previous: DPAccess-1.0 - 8th June
  Contents
Paolo Subiaco
2001-06-08