Install filexfer

Install the filexfer packages

# apt-get install hubzero-filexfer
# apt-get install hubzero-filexfer-xlate

Configure Apache for filexfer

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

The apache hub site configuration files are preconfigured to support this. Uncommented 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®