- Timestamp:
- 2017-04-20T22:55:39+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/web-portal/WEB-INF/web.xml
r31383 r31622 47 47 48 48 <!-- Any path (name) registered in solrconfig.xml will be sent to that filter --> 49 50 <filter> 51 <filter-name>cross-origin</filter-name> 52 <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class> 53 <init-param> 54 <param-name>allowedOrigins</param-name> 55 <param-value>*</param-value><!-- orig example was http://localhost* --> 56 </init-param> 57 <init-param> 58 <param-name>allowedMethods</param-name> 59 <param-value>GET,POST,DELETE,PUT,HEAD,OPTIONS</param-value> 60 </init-param> 61 <init-param> 62 <param-name>allowedHeaders</param-name> 63 <param-value>origin, content-type, cache-control, accept, options, authorization, x-requested-with</param-value> 64 </init-param> 65 <init-param> 66 <param-name>supportsCredentials</param-name> 67 <param-value>true</param-value> 68 </init-param> 69 <init-param> 70 <param-name>chainPreflight</param-name> 71 <param-value>false</param-value> 72 </init-param> 73 </filter> 74 75 <filter-mapping> 76 <filter-name>cross-origin</filter-name> 77 <url-pattern>/*</url-pattern> 78 </filter-mapping> 79 80 81 49 82 <filter> 50 83 <filter-name>SolrRequestFilter</filter-name> … … 200 233 <role-name>admin</role-name> 201 234 </security-role> 202 203 235 204 236 </web-app>
Note:
See TracChangeset
for help on using the changeset viewer.