Using IIS 7.0 (Windows Server 2008)
Before you begin make sure to complete the Installing Perl section above.
Next, create a folder that serves as your study root in the wwwroot folder. The main folder for web pages under IIS is C:\inetpub\wwwroot (although this is the default location, your system administrator may change it).
For example, if the SSI Web study were called "stu1", a folder could be created in the wwwroot folder named "stu1".
Microsoft's Web Server IIS (Internet Information Services) should have the Role Service "CGI" installed. You can double check that by going to Control Panel, Programs and Features, Turn Windows features on or off. This will open the Server Manager window. Scroll down to Roles Summary and click the Web Server (IIS) link. Ensure that CGI is installed.
Open the IIS Manager, located in the Administrative Tools folder of the Control Panel. You now need to either setup a new website or add a new virtual directory and point it to your study in C:\inetpub\wwwroot.
A new virtual directory is created by right clicking a website and selecting "Add Virtual Directory".
You then need to specify an alias for the virtual directory and where the actual files for that directory are located on the hard drive. The virtual directory points
Next, highlight the virtual directory and double click on Handler Mappings.
Click the Add Script Map link on the right side column under Actions.
The Add Script Map dialog box will appear.
Enter the following values:
- Request path: *.pl
- Executable: C:\Perl\bin\perl.exe "%s" %s
If perl is installed in a different location enter that path. Be sure to add the "%s" %s at the end of the path.
- Name: Perl
After clicking OK you should see the message below (if not click Request Restrictions in the above dialog first and then click OK).
Click "Yes" on the above dialog. You want to "Allow" this entry in the ISAPI and CGI Restriction list.
NOTE: Make sure to do the above steps for *.cgi files as well. This is an important security step.
SSI Web needs permission to read, write, and delete within the "admin" and "data" folders. To allow this in IIS right click on your virtual directory (or website) and go to Edit Permissions. Click on the Security tab and click Edit. Highlight "Users (SERVER2008\Users)" and give them the "Modify" permission.
Configuration of the web server is now complete and ready for testing. Make sure to test taking the survey from the beginning to the end. Also log into the Admin Module and make sure you can download data etc. Be aware with the many different server configurations, these instructions may vary slightly. Consult your System Administrator for assistance.