Ignore:
Timestamp:
Feb 2, 2017, 4:24:57 PM (6 years ago)
Author:
djay
Message:

Forward headers defined in the security section in the main.cfg #139.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/kernel/configuration.rst

    r796 r817  
    127127--------------------------------
    128128
     129All the additional sections discribed in the following section are
     130optional.
     131
    129132Headers section
    130133...............................
     
    225228value stored before the Service execution.
    226229
     230Security section
     231...............................
     232
     233The ``[security]`` section can be used to define what headers, the
     234ZOO-Kernel has initially received in the request, should be passed
     235to other servers for accessing resources (such as WMS, WFS, WCS
     236or any other file passed as a reference). This section contains two
     237parameters:
     238
     239 * ``attributes``: The header to pass to other servers (such as
     240   Authorization, Cookie, User-Agent ...),
     241 * ``hosts``: The host for wich the restriction apply (can be "*" to
     242   forward header to every server or a coma separated list of host
     243   names, domain, IP).
     244
     245Both parameters are mandatory.
     246
     247Suppose you need to share Authorization, Cookie and User-Agent to
     248every server for accessing ressources, then yo ucan use the following
     249section definition:
     250
     251.. code::
     252
     253    [security]
     254    attributes=Authorization,Cookie,User-Agent
     255    hosts=*
     256
     257In case only local servers require such header forwarding, you may use
     258the following definition:
     259
     260.. code::
     261
     262    [security]
     263    attributes=Authorization,Cookie,User-Agent
     264    hosts=localhost,127.0.0.1
     265
     266
    227267.. _zoo_activate_db_backend:
    228268
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png