User Tools

Site Tools


wiki:ponyland:downloads

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:ponyland:downloads [2019/04/25 15:23] (current)
Line 1: Line 1:
 +====== 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 [[personalhomepage|personal website on Ponyland]] for it, there are two places you can put it:
 +
 +  * ''/​www/​lst/​live/​htdocs''​ . It will be visible both at http://​cls.ru.nl/​ and http://​lst.science.ru.nl
 +  * 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:
 +
 +<​code>​
 +AuthName "​Secure Area"
 +AuthType Basic
 +AuthUserFile /​var/​www/​live/​applejack/​htdocs/​MYRESOURCES/​.htpasswd
 +require valid-user
 +</​code>​
 +
 +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.
  
wiki/ponyland/downloads.txt ยท Last modified: 2019/04/25 15:23 (external edit)