[ 
https://jira.duraspace.org/browse/DS-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26765#comment-26765
 ] 

Ivan Masár commented on DS-631:
-------------------------------

Curious, I haven't found the older version in Git history to which this is 
applicable. Here's the current version, the comment isn't there:

https://github.com/DSpace/dspace-solr/blob/master/webapp/src/main/webapp/WEB-INF/web.xml

Should we still add the comment or close this issue? I still use the valve, so 
it works like this bug says it should, just the comment isn't there.
                
> 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
>         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

Reply via email to