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

Revision 32117, 419 bytes (checked in by davidb, 2 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 *
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 browser.