The BOINC data server is implemented as an Apache or similar web server. Its upload function runs as a CGI program. It has been tested under Linux and Solaris. The host need not have access to the BOINC database.
You must copy the file upload authentication key to each data server.
The upload handler, file_upload_handler, is compiled by the makefile in sched/. The following environment variables must be defined first:
setenv BOINC_UPLOAD_DIR /users/barry/upload setenv BOINC_KEY_DIR /users/barry/keys
BOINC_UPLOAD_DIR is that path of the upload directory. BOINC_KEY_DIR is a directory containing the file upload authentication public key.
You must edit your web server configuration file to allow access to the download directory and to the file-upload CGI program. For example, the addition to Apache's httpd.conf might be:
Alias /barry/ "/users/barry/" <Directory "/users/barry/"> Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Alias from all </Directory> ScriptAlias /boinc-cgi/ "/users/barry/cgi/" <Directory "/users/barry/cgi/"> AllowOverride None Options None Order allow,deny Allow from all </Directory>