source: other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/TOPUP-JETTY.sh@ 32117

Last change on this file since 32117 was 32117, checked in by davidb, 6 years ago

Some changes that are needed to run Jetty with security on admin, and cross-origin for AJAX calls

  • Property svn:executable set to *
File size: 419 bytes
Line 
1#!/bin/bash
2
3# Setup jetty servers so it is cross-origin for AJAX call
4# Useful URL:
5# http://opensourceconnections.com/blog/2015/03/26/going-cross-origin-with-solr/
6
7# Also add in realm authentication for admin area
8
9echo cp CONF/jetty/web.xml solr/server/solr-webapp/webapp/WEB-INF/web.xml
10echo cp CONF/jetty/jetty.xml solr/server/etc/jetty.xml
11echo cp CONF/jetty/realm.properties solr/server/etc/realm.properties
Note: See TracBrowser for help on using the repository browser.