The media server is used to server big files. This is done to reduce the load of the main server (www.tuhh.de) which is created from the download of bigger files.
How can I use the Media-Server?
If your Institute wants to use the media server send an email to the Service Desk of the computer center and name a functional account to which the files should belong to.
Upload or Delete Files
You can upload files with the functional account to the ssh server ssh.rz.tuhh.de. You can either use the scp command or an sftp client. If your are working with Windows you need to install a program for example WinSCP. For Linux the command-line utilities are usally installed by default, most file managers allow to upload file via scp, too.
After the start of the programm, connect the functional account to the server ssh.rz.tuhh.de and change into the assigned directory an. The pathname on the ssh server is: /nfs/media/htdocs/sign. Upload your file there and the files will be ready to download from media.tuhh.de/<sign>/<path>/<filename>.
The deletion of the file works in the same way.
- Command on the ssh server:
quota -m username
If the computer center would like to share a file named "example.zip" on the media server, the URL would be:
If the the computer center moves the file to the subfolder "XYZ-Folder" than the the URL would be:
Everybody can download files form the media server. If you want to restrict access to files on the media server, you can do it with .htaccess files, with that the computer center will not help.
The .htaccess files are effective for the directory and its subdirectories it lies in. If in a subdirectory lies another .htaccess file, the file overrules (or suplements) the .htaccess files for this directory and its subdirectories.
- Access from the TUHH network:
Require ip 134.28
Require ip 134.28 141.91
Require ip 220.127.116.11/24
Require ip 18.104.22.168/255.255.0.0
AuthName "LDAP protected Site"
In this example all users of the computer center are allowed to access the directory. To change the filter you just have to change the (ou=RZ*) in the row with "AuthLDAPURL" to the own ou, but you can use any filter.
You can use any string with AuthName, this will be displayed when the password is required.
Require all granted
Require all denied
.htaccessfile, this means that if any of the directives would allow access, the access will be granted (logical or).