This article describes how to set up Connect Server on Linux together with Faspex so that both applications are accessible via a single HTTP server for web interaction from the outside world. This installation was tested with CentOS 6.3 and 6.5, Aspera Faspex 3.0.3 and 3.9.2 and Aspera Connect Server 3.0 and 3.5.4.
The Faspex Apache HTTP server will be configured as a reverse-proxy for the Connect Server application. This facilitates deployment in hosted and firewalled environments where Faspex and Connect Server would be accessible at the following:
Faspex Server: https://aspera.my-Domain.com/aspera/faspex
Connect Server: https://aspera.my-Domain.com/aspera/user
Note that accessing your domain at https://aspera.my-Domain.com redirects to the Faspex web interface. If you would like to change the default redirect to your Connect Server, see https://support.asperasoft.com/entries/23205271-Defaulting-redirect-to-Connect-Server-instead-of-Faspex-on-a-combined-Faspex-Connect-Server-install
First install the Connect Server, then Faspex on the same Linux system. Follow the installation guides.
Before you install Faspex you will need to turn off httpd (apache2, according to distribution) if it is installed and running on your system, as both applications will be using the Apache HTTP server that comes with the Faspex installation. You can turn off httpd with the following command:
/sbin/service httpd stop
1. Create a file named aspera.connect.linux.conf in the following location:
2. Open the file in a text editor and paste in the following content (you will notice it looks similar to a step in the Connect Server installation):
Allow from all
AddHandler cgi-script .pl
ScriptAlias /aspera/scripts/ "/opt/aspera/var/webtools/scripts/"
Alias /aspera/ "/opt/aspera/var/webtools/"
3. Restart the Faspex Apache with the following command:
4. Enable system-level security. Doing so allows the Connect Server interface to show or hide controls such as the Delete and Create Folders for users depending on their permissions.
Run the following command to enable secure permissions:
sudo /opt/aspera/sbin/enablesecure enable
You will be prompted to enter the name of the user running Apache. Type in ashttpd and press enter:
User running apache (default apache): ashttpd
Paste the text from the secure permissions command at the end of the file, and save your changes.
5. You are now running Faspex and Connect Server on your Linux system through a single HTTP Apache server.