Inhaltsverzeichnis

Preparation of the Server II (IIS)

The following manual is based on an installation of the Microsoft Internet Information Services in version 5.0. The dialog boxes may differ in other versions.

Creating a Website

Ideally, a web server only shows a user/visitor what the visitor is supposed to see. Above all, it is not visible “from outside” where the data is actually located on the server.

For the installation directory, you therefore have to distinguish where this directory is located internally (e.g., /var/www/sosci/) and under which name it is accessed externally (e.g., http://www.domain.tld/survey/). For a directory to be visible “from outside” via HTTP or HTTPS, create a new application for SoSci Survey in the computer management.

[Image]

Access to the Main Directory

The access settings must allow the IIS read and write access, as a directory is created for each survey project.

[Image]

Directory Index

Specify that the file index.php is displayed when a directory is accessed.

[Image]

Enabling PHP Files

Select the PHPCGI wrapper for processing PHP files (“*.php”).

[Image]

Setting up Access and Protection

Setting the permissions on Windows level for the following directories as Admin: • Admin • Inc • System • View

This applies to the IIS process account and the internet guest account user

Setting the permissions on Windows level for the following directories as User: • Docu • Help • Images • Layout • Modules • Plugins • Script • Templates

This applies to the IIS process account and the internet guest account user

The start page of the survey should now be accessible via the following link: http://domain.tld/sosci/

The project and server administration is opened automatically after a short time or by clicking. There you can log in with the login “admin”.

Setting up Email Dispatch

It may be necessary to configure the sending of emails via PHP/IIS: Sending email from PHP on Windows using IIS

Completing the Configuration

Sometimes, the IIS has to be restarted via the console by means of iisreset for the IIS to fully apply the changes.

This reset may also be helpful if only an “http 500 Internal Server” appears when accessing the URL, although the file permissions etc. are configured correctly.