User Tools

Site Tools


wiki:ponyland:downloads

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:

Note: you need to be in the appropriate groups to access these places; ask Wessel Stoop.

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 Wessel Stoop if you need help.

wiki/ponyland/downloads.txt · Last modified: 2018/09/20 23:50 by Maarten van Gompel