#!/bin/bash # Setup jetty servers so it is cross-origin for AJAX call # Useful URL: # http://opensourceconnections.com/blog/2015/03/26/going-cross-origin-with-solr/ # Also add in realm authentication for admin area echo cp CONF/jetty/web.xml solr/server/solr-webapp/webapp/WEB-INF/web.xml echo cp CONF/jetty/jetty.xml solr/server/etc/jetty.xml echo cp CONF/jetty/realm.properties solr/server/etc/realm.properties