Changeset 6889 for ComponentRegistry
- Timestamp:
- 01/08/16 08:49:24 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-2.0/ComponentRegistry/src/main/webapp/META-INF/context.xml
r6887 r6889 37 37 <Context antiJARLocking="true" path="/ComponentRegistry"> 38 38 <!-- 39 Passed to the Flex UI via index.jsp so that it can locate the 40 ComponentRegistry REST service. Just supply the application root: 41 the '/rest/registry' part will be added by the application. 39 Passed to the Flex via compRegConfig.jsp so that it can locate the 40 ComponentRegistry REST service. Just supply the PUBLIC application root 41 in the path; the '/rest/registry' part will be added by the application. 42 43 "serviceUrlPath" is MANDATORY in all cases and should contain the path 44 of the application relative to the server root, starting with a forward 45 slash, e.g. "/ComponentRegistry". 46 47 In addition, either "serviceUrlPath" OR the two parameters 48 "serviceUrlProtocolHeader" and "serviceUrlHostHeader" need to be 49 defined. 42 50 --> 43 51 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlBase" value="${serviceUrlBase}"/> 44 52 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlPath" value="${serviceUrlPath}"/> 45 46 53 <!-- 47 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlProtocolHeader" value="${serviceUrlProtocolHeader}"/> 48 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlHostHeader" value="${serviceUrlHostHeader}"/> 54 Uncomment two lines below iff you would like to use the protocol and host 55 provided in the request headers. 56 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlProtocolHeader" value="X-FORWARDED-PROTO"/> 57 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlHostHeader" value="X-FORWARDED-HOST"/> 49 58 --> 50 59
Note: See TracChangeset
for help on using the changeset viewer.