Wrong Parameter Name in web.xml comment
---------------------------------------

                 Key: DS-631
                 URL: http://jira.dspace.org/jira/browse/DS-631
             Project: DSpace 1.x
          Issue Type: Bug
          Components: Solr
    Affects Versions: 1.6.2
            Reporter: Andy Smith
            Priority: Minor
         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 contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to