Internet Information Services (IIS) is an extensible web server created by Microsoft for use with Windows. IIS is not turned on by default when Windows is installed. The IIS Manager is accessed through the Microsoft Management Console or Administrative Tools in the Control Panel.
These instructions are for configuration of the IIS (Internet Information Service) Web Service for Windows Server 2012 so it will work with the web service of VDV. IIS is built into Microsoft operating system.
By following these step-by-step instructions the IIS should be operational to provide web service for VDV
In order to install IIS, open Control Panel and select Programs and click Turn Windows features on or off.
Click on Next until Server Roles comes and then check Web Server (IIS) from the list.
After having added Web Server (IIS) make sure to locate Application Development and check CGI, ISAPI Extensions and ISAPI Filters. Install the features and the IIS services should be ready for configurations (it could be necessary to restart the server at this point).
Next open Control Panel > System and Security > Administrative Tools > Internet Information Services (IIS) Manager.
Next right click on the Default Web Site and click Add Virtual Directory.
Enter vdv as Alias and browse to the vdv_www folder (default location is C:\Vista Data Vision\db.web.browser\vdv_www). Press OK to finish.
Next select the new vdv virtual directory and double click on Handler Mappings.
Click on Add Module Mapping... in the top right corner.
When selecting the Executable (optional): make sure that you select (*.exe) in the bottom right corner and php-cgi (default location is C:\Vista Data Vision\db.web.browser\PHP\php-cgi.exe).
Select FastCgiModule from the Module Drop down list. It may be necessary to type " around the Executable path. Enter PHP for Name. Press OK to finish.
Click Yes to allow PHP.
Next select the top node in the Connections list (the server name).
Double click on ISAPI and CGI Restrictions.
If php.exe has not been added to the list then it needs to be added manually. For adding PHP manually click Add... in the top right corner.
Browse to php-cgi.exe for ISAPI or CGI path (default location is C:\VistaData Vision\db.web.browser\PHP\php-cgi.exe). Remember to select (*.exe) in the bottom right corner when locating php-cgi.exe If php-cgi.exe cannot be seen then select exe from the File Type dropdown list. It may be necessary to type " around the Executable path. Enter PHP for Description. Check Allow extension path to execute. Press OK to finish.
When the system has been installed and db.robot.c is running, open a web browser on the server and type http://localhost/vdv in the address field. You should see the VDV standard website if you have VDV Standard or if you have not registered. For registered VDV Professional or Enterprise version a Login page is shown.
If VDV is not installed on the C-drive
If Vista Data Vision is not installed directly under C:\ then one change must be made to the php.ini file located under /Vista Data Vision/db.web.browser/php5.2
Find these lines
session.save_path = C:\Vista Data Vision\db.web.browser\php5.2\sessiondata
upload_tmp_dir = "C:\Vista Data Vision\db.web.browser\php5.2\upload_temp"
Change it to the path where you have installed VDV. For example if VDV is installed on the D drive you would change the line to:
session.save_path = D:\Vista Data Vision\db.web.browser\php5.2\sessiondata
upload_tmp_dir = "D:\Vista Data Vision\db.web.browser\php5.2\upload_temp"
Test the Web
Note: If you want to see if PHP has been installed correctly create an info.php file and store it in \Vista Data Vision\db.web.browser\vdv_www folder. info.php file is just a text file and may be created using Notepad. The file should only contain the following php code.
Open a Web Browser and type in http://localhost/vdv/info.php. You should see an information page on PHP. If you do not see this page, check that you have performed the steps above correctly.
After the PHP test, then delete the info.php file.