Documentation

filexfer

Install filexfer

Install the filexfer package

# apt-get install hubzero-filexfer

Configure Apache for filexfer

Modify the hub site file at /etc/apache2/sites-available/hub-ssl

The apache hub site configuration files are not preconfigured to support this. Add the two highlighted lines as shown below. Note that the relative placement of these lines is important.

Edit /etc/apache2/sites-available/hub-ssl

<VirtualHost *:443>
        RewriteEngine   on
        RewriteMap      xlate           prg:/usr/lib/mw/bin/filexfer-xlate
        ...
        ...
        ...
        <Directory /www/myhub>
                Options FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all

                RewriteEngine   On
                RewriteRule     ^filexfer/(.*) ${xlate:$1|nothing} [P,QSA,L]

Then restart apache

# /etc/init.d/apache2 restart

Last modified:

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®