Changeset 817 for trunk/docs/kernel
- Timestamp:
- Feb 2, 2017, 4:24:57 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/kernel/configuration.rst
r796 r817 127 127 -------------------------------- 128 128 129 All the additional sections discribed in the following section are 130 optional. 131 129 132 Headers section 130 133 ............................... … … 225 228 value stored before the Service execution. 226 229 230 Security section 231 ............................... 232 233 The ``[security]`` section can be used to define what headers, the 234 ZOO-Kernel has initially received in the request, should be passed 235 to other servers for accessing resources (such as WMS, WFS, WCS 236 or any other file passed as a reference). This section contains two 237 parameters: 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 245 Both parameters are mandatory. 246 247 Suppose you need to share Authorization, Cookie and User-Agent to 248 every server for accessing ressources, then yo ucan use the following 249 section definition: 250 251 .. code:: 252 253 [security] 254 attributes=Authorization,Cookie,User-Agent 255 hosts=* 256 257 In case only local servers require such header forwarding, you may use 258 the following definition: 259 260 .. code:: 261 262 [security] 263 attributes=Authorization,Cookie,User-Agent 264 hosts=localhost,127.0.0.1 265 266 227 267 .. _zoo_activate_db_backend: 228 268
Note: See TracChangeset
for help on using the changeset viewer.