Making available files for download¶
If you need to make files (like datasets, corpora, recordings, language models, etc) available to fellow researchers, and you don't want to use your personal website on Ponyland for it, there are two places you can put it:
/www/lst/live/htdocs
. It will be visible at http://cls.ru.nl/. Note: The files used to be visible at http://lst.science.ru.nl as well. You need to update any existing links to this domain.- On applejack:
/var/www/live/applejack/htdocs/downloads/
. It will be accessible through https://applejack.science.ru.nl/downloads/
Note: you need to be in the appropriate groups to access these places; ask admin.
Authentication¶
In case you don't want to open up your files to the entire world:
Go to applejack:
$ ssh applejack.science.ru.nl
Go to the downloads directory:
$ cd /var/www/live/applejack/htdocs/downloads/
Create a subdirectory for your resources: (substitute the irectory name with your own)
$ mkdir MYRESOURCES
Set a username and password as follows:
$ htpasswd -c .htpasswd username
(substitute username with the desired username, the password will be
queried interactively, you can add multiple users and passwords, simply
omit the -c
option to append to an existing .htpasswd
file)
Enable authentiction by creating a file .htaccess
($ nano .htaccess
)
with the following contents:
AuthName "Secure Area"
AuthType Basic
AuthUserFile /var/www/live/applejack/htdocs/MYRESOURCES/.htpasswd
require valid-user
The resources will be accessible under
https://applejack.science.ru.nl/download/MYRESOURCES/ (make sure to
test whether everything works as expected after creating the .htpasswd
and .htaccess
files!)
Contact Admin if you need help.