iis configuration - vista data vision · 2014-09-03 · iis configuration vista data vision...

Post on 17-Apr-2020

16 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

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.

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

IIS Configuration

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

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

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

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

Click Yes to allow PHP.

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

IIS Configuration 6

Double click on ISAPI and CGI Restrictions.

IIS Configuration 7

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

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

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

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

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

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

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

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

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

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

IIS Configuration 18

IIS Configuration 19

top related