Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-631

Wrong Parameter Name in web.xml comment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.8.0
    • Component/s: Solr
    • Labels:
    • Attachments:
      1
    • Comments:
      5
    • Documentation Status:
      Not Required

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mwood Mark H. Wood
              Reporter:
              andjsmit Andy Smith
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: