I have an existing Apache web server (2.2.15) configured with various security information (only https / authentication / authorization / etc.). I can rely on this server to handle access requirements for my solr installation.
I have a basic example of a solr instance and it runs on a separate machine. (Solr 4.8.0)
I want to be able to redirect the URL https://myserver/department/team/search/....to a Solr instance running on another (private) machinehttp://solrserver:8983/
I configured Apache server with:
ProxyPass /department/team/search/ http://solserver:8983/
ProxyPassReverse /department/team/search/ http://solserver:8983/
I have some success in this, https is being processed, authentication / access is being processed, etc.
When I look at the URL, it loads the main solr page, but the page inside it has the following meanings:
<script type="text/javascript">
var app_config = {};
app_config.solr_path = '\/solr';
app_config.core_admin_path = '\/admin\/cores';
</script>
( ) JavaScript, :
https://myserver/solr/admin/cores?wt=json&indexInfo=false&_=1399485239437
https://myserver/department/team/search/solr/admin/cores?wt=json&indexInfo=false&_=1399485239437
, (app_config.solr_path app_config.core_admin_path), , ......
:
- ,
app_config.solr_path app_config.core_admin_path? - , , ? ( /, - apache, ).