[
https://jira.duraspace.org/browse/DS-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26767#comment-26767
]
Tim Donohue commented on DS-631:
--------------------------------
I suspect this was "accidentally" resolved when we upgraded Solr to 3.3.0
(DS-980) for DSpace 1.8.0.
I can verify that this used to be an issue, by looking up the old
"dspace-solr-1.3.0.2" in our SVN archive:
https://svn.duraspace.org/dspace/modules/dspace-solr/tags/dspace-solr-1.3.0.2/src/main/webapp/WEB-INF/web.xml
But, as Ivan notes above, it is no longer an issue in the current codebase.
I'm going to link this ticket to DS-980 and mark as "resolved" as of 1.8.0
(which is when DS-980 was committed).
> Wrong Parameter Name in web.xml comment
> ---------------------------------------
>
> Key: DS-631
> URL: https://jira.duraspace.org/browse/DS-631
> Project: DSpace
> Issue Type: Bug
> Components: Solr
> Affects Versions: 1.6.2
> Reporter: Andy Smith
> Assignee: Mark H. Wood
> Labels: has-patch
> Fix For: 1.8.0
>
> Attachments: solr.patch
>
>
> There is a comment in web.xml for solr in modules/tags/dspace-solr-1.3.0.2
> (which is currently pulled into 1.6.2) for turning off the
> LocalHostRestrictionFilter. The comment has cut and paste code for turning
> off the filter by placing it in a Tomcat context file. However, the wrong
> parameter name is given. Instead of LocalHostRestrictionFilter.enabled, it
> should be LocalHostRestrictionFilter.localhost as is required for the filter
> code.
> We had to disable this filter in order to get SOLR working for a rather
> complex setup where localhost would not work in the solr.log.server
> configuration value. To restrict access we implemented RemoteAddrValve in
> the same context file that the altered code resides.
> The patch attached is to go against modules/tags/dspace-solr-1.3.0.2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel