Vista Data Vision 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. Following are step-by-step instructions on how to configure the IIS for Windows Server 2012, Windows 8 and Windows 7. These instructions are very much alike and could also apply to older Windows servers but the outlook could be little different between versions.
01 Windows Server 2012... 2 02 Windows 8... 10
01 Windows Server 2012 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. 2
After having added Web Server (IIS) make sure to locate Aplication 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. 3
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. 4
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. 5
Click Yes to allow PHP. Next select the top node in the Connections list (the server name). 6
Double click on ISAPI and CGI Restrictions. 7
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. 8
Configure the php.ini file 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. <?php phpinfo()?> 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. 9
02 Windows 8 These instructions are for configuration of the IIS (Internet Information Service) Web Service for Windows 8 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 Features and click Turn Windows features on or off. Locate and check Internet Information Services. Expand World Wide Web Services and then expand Application Development Features, check CGI, ISAPI Extensions and ISAPI Filters. 10
Now IIS has been configured to work with PHP. Next step is to add VDV to IIS. Open Control Panel > System and Security > Administrative Tools, locate and open Internet Information Services (IIS) Manager. 11
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. 12
Next select the new vdv virtual directory and double click on Handler Mappings. Click on Add Module Mapping in the top right corner. 13
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. 14
Click Yes to allow PHP. Next select the top node in the Connections list (the server name) and double click on ISAPI and CGI Restrictions.. 15
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. 16
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. Configure the php.ini file 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. <?php phpinfo()?> 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. 17
18
19