Developers Getting Started With i2b2
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To edit the whitelist when the web client is hosted in Apache you will need to edit the values within the proxy.php file. At the top of the file will be a PHP variable called $WHITELIST which will contain an array of URLs. You will need to enter the protocol, hostname and port (if any) for all i2b2 hive services that the web client will need access to. You can see an example of a proper whitelist configuration below:

...

Code Block

...

language

...

js
$WHITELIST = array(

...


 "http://services.i2b2.org",

...


 "http://127.0.0.1:9090",

...


 "http://127.0.0.1:8080",

...


 "http://127.0.0.1",

...


 "http://localhost:8080",

...


 "http://localhost:9090",

...


 "http://localhost"

...


 );


Anchor
_zdec521nyfc5
_zdec521nyfc5
Blacklist in Apache

...