Changeset 752 for trunk/docs


Ignore:
Timestamp:
Mar 5, 2016, 2:37:06 PM (9 years ago)
Author:
djay
Message:

Add optional CORS support. Fix issue when dealing with Array in JavaScript? support.

Location:
trunk/docs/kernel
Files:
3 edited

Legend:

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

    r725 r752  
    4343    msOgcVersion=1.0.0
    4444    tmpUrl=http:/localhost/temp/
     45    cors=false
    4546   
    4647    [identification]
     
    7677 * ``dataPath``: Path to the directory where data files are stored (used to store mapfiles and data when MapServer support is activated).
    7778 * ``tmpPath``: Path to the directory where temporary files are stored (such as *ExecuteResponse* when *storeExecuteResponse* is set to true).
     79 * ``tmpUrl``: URL to access the temporary files directory (cf. ``tmpPath``).
    7880 * ``cacheDir``: Path to  the directory where cached request files [#f1]_ are stored (optional).
    7981 * ``serverAddress``: URL to the ZOO-Kernel instance.
    80  * ``tmpUrl``: URL of the temporary files directory.
    8182 * ``mapservAddress``: URL to the MapServer instance (optional).
    8283 * ``msOgcVersion``: Version of all supported OGC Web Services output [#f2]_
    8384   (optional).
    8485 * ``lang``: Supported natural languages separated by a coma (the first is the default one),
     86 * ``cors``: Define if the ZOO-Kernel should support `Cross-Origin
     87   Resource Sharing <https://www.w3.org/TR/cors/>`__. If this
     88   paramater is not defined, then the ZOO-Kernel won't support CORS.
     89
     90In case you have activated the MapServer support, please refer to
     91:ref:`this specific section <kernel-mapserver-main.cfg>`.
    8592
    8693
     
    117124and notice the specific header *X-Powered-By: Zoo-Project@Trac*.
    118125
     126In case you want to allow CORS support for POST requests coming from
     127``myhost.net``, then you should define the following minimal
     128parameters in this section:
     129
     130.. code-block:: guess
     131    :linenos:
     132   
     133    Access-Control-Allow-Origin=myhost.net
     134    Access-Control-Allow-Methods=POST
     135    Access-Control-Allow-Headers=content-type
     136
     137
    119138env section
    120139...............................
     
    132151    [env]
    133152    DISPLAY=:1
     153
     154In case you have activated the OTB support, please refer to :ref:`this
     155specific section <kernel-orfeotoolbox-main.cfg>`.
    134156
    135157lenv section
  • trunk/docs/kernel/mapserver.rst

    r725 r752  
    107107     cp zoo_loader.cgi /usr/lib/cgi-bin
    108108
     109
     110.. _kernel-mapserver-main.cfg:
    109111
    110112Main configuration file
  • trunk/docs/kernel/orfeotoolbox.rst

    r725 r752  
    5757....................................
    5858
     59.. _kernel-orfeotoolbox-main.cfg:
     60   
    5961Main configuration file
    6062*************************
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