Faspex and Connect Server on one Windows system through a single HTTP Server
This article describes how to setup Connect Server on a Windows together with Faspex so that both applications are accessible via a single HTTP server for web interaction from the outside world. The Faspex Apache HTTP server is configured as a reverse-proxy for the Connect Server's IIS. This facilitates deployment in hosted and firewalled environments: I.e.:
Faspex Server: https://aspera.my-Domain.com/faspex
Connect Server: https://aspera.my-Domain.com/aspera/user
Install Faspex and Connect Server on the same Windows system. Follow the installation guides.
The Connect Server uses Internet Information Server (IIS) as an HTTP server. IIS should be configured to use port 10080 (or any other free port) for incoming requests.
Faspex is installed together with an Apache web server which uses port 80/443.
What to do
- Bind the IIS web server to the localhost address (127.0.0.1). Open the IIS Manager and edit the Bindings for the Default Web Site. Add 127.0.0.1 with port 10080 without hostname.
- Add the following lines at the end of the file
C:\Program Files\Aspera\Faspex\config\faspex.apache.template.confusing notepad:
ProxyPass /aspera http://127.0.0.1:10080/aspera
ProxyPassReverse /aspera http://127.0.0.1:10080/aspera
- Restart Faspex - execute the following commands in a shell:
cd \Program Files\Aspera\Faspex
asctl faspex:uri_namespace /faspex
- Edit the following ASP file:
[Connect Server 2.5 or higher] "C:\Program Files\Aspera\Enterprise Server\var\www\user\default.asp"
Override the appURL assignment:
Override the strServerName assignment:
'appURL = protoScheme & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("URL")
appURL = Request.ServerVariables("URL")
'strServerName = LCase(Request.ServerVariables("SERVER_NAME"))
strServerName = "aspera.my-domain.com"
- In the file
C:\Program Files (x86)\Aspera\Enterprise Server\etc\aspera.conf
Make sure that in the block there is an enry AsperaServer, i.e.:
- Disable "Windows Integrated Authentication" for the
/aspera/user/folder using IIS Manager, so that IE is forced to use "Basic Authentication", since "Windows Integrated Authentication" does not work for proxied IIS servers.