Running the TPP with Apache
UPDATE: The TPP now includes Apache and configures it out of the box, so this is no longer applicable. For reference the original instructions are listed below.
Original Instructions
Here's how to run the ISB's Trans Proteomic Pipeline (TPP) with the Apache web server, as opposed to IIS. Prior to installing the TPP do this:
- Create the "C:\Inetpub" and "C:\Inetpub\wwwroot" directories.
- Download Apache 2.0
- Install Apache using the default installation options.
- Edit the Apache configuration file: C:\Program Files\Apache Group\Apache2\conf\httpd.conf
- Add the following to the bottom of the file:
Alias /isb-bin "C:/Inetpub/isb-bin" <Directory "C:/Inetpub/isb-bin"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Alias /tpp-bin "C:/Inetpub/tpp-bin" <Directory "C:/Inetpub/tpp-bin"> Options Indexes MultiViews ExecCGI AllowOverride None Order allow,deny Allow from all AddHandler cgi-script .cgi .pl ScriptInterpreterSource Registry PassEnv WEBSERVER_ROOT </Directory> Alias /ISB "C:/Inetpub/wwwroot/ISB" Alias /isb "C:/Inetpub/wwwroot/ISB" <Directory "C:/Inetpub/wwwroot/ISB"> Options Indexes MultiViews Includes AllowOverride None Order allow,deny Allow from all AddType text/html .shtml AddHandler server-parsed .shtml PassEnv WEBSERVER_ROOT </Directory> - Restart the Apache service so it picks up the new configuration.
- Now install the TPP following the normal instructions. Skip the IIS specific configuration steps.
- After installing the TPP find a .pl Perl script file in "C:\Inetpub\tpp-bin"...
- Right-click on the file and select "Open With... -> Choose Program"
- Select "Always use the selected program to open this kind of file"
- Click the "Browse..." button.
- Select "c:\cygwin\bin\perl.exe" and click OK.
- Click OK to close the dialog box. This ensures Apache will run Perl scripts using the Cygwin Perl interpreter.
That's it. Pasting in the Apache config is almost easier than configuring IIS using its user interface.