Message-ID: <1211963050.7880.1711648316752.JavaMail.confluence@ip-172-30-4-17.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7879_1821308908.1711648316751" ------=_Part_7879_1821308908.1711648316751 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html 1.4 Configuration

1.4 Configuration


The Web Client is pre-configure= d for a local host domain of i2b2demo and includes a PHP p= roxy in the distributed software. The information within these configuratio= n sections was written to assist you in setting up the i2b2 Web Client to w= ork with other domains in your environment. The changes to the PHP configur= ation are optional and we do recommend you review them to make sure it is a= ppropriate for your environment.


There are basically two steps in config= uring the i2b2 Web Client to work in your environment.

Step 1: Configure the Proxy=20 (Optional)
=20
Step 2: Configure the Domain

Note

The registration and configuration of custom plug-ins and cells is not c= overed in this document. The Web Client Space in th= is community wiki contains additional documentation on custom plug-ins and = cell.




The majority of the configuration settings are m= aintained in a connection configuration file called i2b2_c= onfig_data.js. The one exception is the PHP security configuration= is maintained in a PHP file called index.php. The i2b2_co= nfig_data.js file contains the following attributes for defining the Proxy,= Framework and Domains:


Name

Null

Type

Description

urlProxy

N

String

The full path URL for the i2b2 web services p= roxy server.

urlFramework

N

String

The full path URL to the root js-i2b2-directo= ry.

lstDomains

N

Array

An array containing one or more domain defini= tion objects. The domain attributes are defined in the section on confi= guring the domain.




EXAMPLE: default setti= ngs in i2b2_config_data.js


i2b2_config_data.js
=20
{
=09urlProxy: "index.php",
=09urlFramework: "js-i2b2/",
=09startZoomed: true,
=09//----------------------------------------------------------------------=
---------------------
=09// THESE ARE ALL THE DOMAINS A USER CAN LOGIN TO
=09lstDomains: [
=09=09{ domain: "i2b2demo",
=09=09  name: "HarvardDemo",
=09=09  urlCellPM: "http://services.i2b2.org/i2b2/services/PMService/",
=09=09  allowAnalysis: true,
=09=09  debug: false
=09=09}
=09]
=09//----------------------------------------------------------------------=
---------------------
}


=20


Important


Before you proceed with configuring the= i2b2 Web Client we highly recommend you do a quick check = to make sure the Web Client copied to your web server correctly. This can b= e done by opening your browser and entering the following address:

http://localhost/webclient/<= /strong>

The i2b2 Web Client page will display and = you should be able to log into the i2b2 Host of=20 HarvardDemo.




------=_Part_7879_1821308908.1711648316751--