You are here: Documentation1.0.0System Administrators GuideFilexfer

Documentation: System Administrators Guide

Quick Nav

1.6.0 Filexfer

1.6.1 Install filexfer

Install the filexfer packages

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

Last Modified: 2011-04-06 00:37:26 Back to the top

1.6.2 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: 2011-04-06 00:38:06 Back to the top