20
IIS Configuration 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.

IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

  • Upload
    others

  • View
    15

  • Download
    0

Embed Size (px)

Citation preview

Page 1: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

IIS ConfigurationVista Data Vision

Internet Information Services (IIS) is an extensible web server created by Microsoft for use with Windows. IISis not turned on by default when Windows is installed. The IIS Manager is accessed through the MicrosoftManagement Console or Administrative Tools in the Control Panel. Following are step-by-step instructions onhow to configure the IIS for Windows Server 2012, Windows 8 and Windows 7. These instructions are verymuch alike and could also apply to older Windows servers but the outlook could be little different betweenversions.

Page 2: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

01 IIS Configuration – Windows Server 2012 2 ................................................................................................. 02 IIS Configuration – Windows 8 10 .................................................................................................................

IIS Configuration

Page 3: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

01 IIS Configuration – Windows Server 2012

These instructions are for configuration of the IIS (Internet Information Service) Web Service for WindowsServer 2012 so it will work with the web service of VDV. IIS is built into Microsoft operating system. Byfollowing 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.

IIS Configuration 2

Page 4: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

After having added Web Server (IIS) make sure to locate Aplication Development and check CGI, ISAPIExtensions and ISAPI Filters. Install the features and the IIS services should be ready for configurations (itcould 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.

IIS Configuration 3

Page 5: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

Enter vdv as Alias and browse to the vdv_www folder (default location is C:\Vista DataVision\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.

IIS Configuration 4

Page 6: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

When selecting the Executable (optional): make sure that you select (*.exe) in the bottom right corner andphp-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 Executablepath. Enter PHP for Name. Press OK to finish.

IIS Configuration 5

Page 7: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

Click Yes to allow PHP.

Next select the top node in the Connections list (the server name).

IIS Configuration 6

Page 8: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

Double click on ISAPI and CGI Restrictions.

IIS Configuration 7

Page 9: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

If php.exe has not been added to the list then it needs to be added manually. For adding PHP manually clickAdd… in the top right corner.

Browse to php-cgi.exe for ISAPI or CGI path (default location is C:\VistaDataVision\db.web.browser\PHP\php-cgi.exe). Remember to select (*.exe) in the bottom right corner whenlocating php-cgi.exe If php-cgi.exe cannot be seen then select exe from the File Type dropdown list. It maybe necessary to type ” around the Executable path. Enter PHP for Description. Check Allow extension path toexecute. Press OK to finish.

When the system has been installed and db.robot.c is running, open a web browser on the server and typehttp://localhost/vdv in the address field. You should see the VDV standard website if you have VDVStandard or if you have not registered. For registered VDV Professional or Enterprise version a Login page isshown.

IIS Configuration 8

Page 10: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

Configure the php.ini fileIf Vista Data Vision is not installed directly under C:\ then one change must be made to the php.ini file locatedunder /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 wouldchange 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 WebNote: If you want to see if PHP has been installed correctly create an info.php file and store it in \Vista DataVision\db.web.browser\vdv_www folder. info.php file is just a text file and may be created using Notepad. Thefile should only contain the following php code.

<?phpphpinfo()?>

Open a Web Browser and type in http://localhost/vdv/info.php. You should see an information page on PHP. Ifyou do not see this page, check that you have performed the steps above correctly.

IIS Configuration 9

Page 11: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

02 IIS Configuration – Windows 8

These instructions are for configuration of the IIS (Internet Information Service) Web Service for Windows 8so it will work with the web service of VDV. IIS is built into Microsoft operating system. By following thesestep-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 Windowsfeatures on or off.

Locate and check Internet Information Services. Expand World Wide Web Services and then expandApplication Development Features, check CGI, ISAPI Extensions and ISAPI Filters.

IIS Configuration 10

Page 12: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

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 InternetInformation Services (IIS) Manager.

IIS Configuration 11

Page 13: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

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 DataVision\db.web.browser\vdv_www). Press OK to finish.

IIS Configuration 12

Page 14: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

Next select the new vdv virtual directory and double click on Handler Mappings.

Click on Add Module Mapping… in the top right corner.

IIS Configuration 13

Page 15: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

When selecting the Executable (optional): make sure that you select (*.exe) in the bottom right cornerand 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 Executablepath. Enter PHP for Name. Press OK to finish.

IIS Configuration 14

Page 16: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

Click Yes to allow PHP.

Next select the top node in the Connections list (the server name) and double click on ISAPI and CGIRestrictions..

IIS Configuration 15

Page 17: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

If php.exe has not been added to the list then it needs to be added manually. For adding PHP manuallyclick Add… in the top right corner.

Browse to php-cgi.exe for ISAPI or CGI path (default location is C:\VistaDataVision\db.web.browser\PHP\php-cgi.exe). Remember to select (*.exe) in the bottom right corner whenlocating php-cgi.exe If php-cgi.exe cannot be seen then select exe from the File Type dropdown list. It maybe necessary to type ” around the Executable path. Enter PHP for Description. Check Allow extension path toexecute. Press OK to finish.

IIS Configuration 16

Page 18: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

When the system has been installed and db.robot.c is running, open a web browser on the server andtype http://localhost/vdv in the address field. You should see the VDV standard website if you have VDVStandard or if you have not registered. For registered VDV Professional or Enterprise version a Login page isshown.

Configure the php.ini fileIf Vista Data Vision is not installed directly under C:\ then one change must be made to the php.ini file locatedunder /Vista Data Vision/db.web.browser/php5.2

Find these lines

session.save_path = C:\Vista Data Vision\db.web.browser\php5.2\sessiondataupload_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 wouldchange the line to:

session.save_path = D:\Vista Data Vision\db.web.browser\php5.2\sessiondataupload_tmp_dir = “D:\Vista Data Vision\db.web.browser\php5.2\upload_temp”

Test the WebNote: If you want to see if PHP has been installed correctly create an info.php file and store it in \Vista DataVision\db.web.browser\vdv_www folder. info.php file is just a text file and may be created using Notepad. Thefile should only contain the following php code.

<?phpphpinfo()?>

Open a Web Browser and type in http://localhost/vdv/info.php. You should see an information page on PHP. Ifyou do not see this page, check that you have performed the steps above correctly.

IIS Configuration 17

Page 19: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

IIS Configuration 18

Page 20: IIS Configuration - Vista Data Vision · 2014-09-03 · IIS Configuration Vista Data Vision Internet Information Services (IIS) is an extensible web server created by Microsoft for

IIS Configuration 19