So it looks like this now:
<Context path="/solr" docBase="/dspace/webapps/solr" allowLinking="true">
<Valve
className="org.apache.catalina.valves.RemoteAddrValve" allow="192.168.1.*,
127.0.0.1"/>
<Parameter name="LocalHostRestrictionFilter.localhost"
value="false" override="false" />
</Context>
And still does not let me in.
On Fri, May 3, 2013 at 7:09 PM, helix84 <[email protected]> wrote:
> Just insert Valve and Parameter into the last Context (that has solr path)
> On May 4, 2013 1:07 AM, "Mark Ehle" <[email protected]> wrote:
>
>> This is what I added to the server.xml file when I installed dspace:
>>
>> <!-- Define a new context path for all DSpace web apps -->
>> <Context path="/xmlui" docBase="/dspace/webapps/xmlui"
>> allowLinking="true"/>
>> <Context path="/sword" docBase="/dspace/webapps/sword"
>> allowLinking="true"/>
>> <Context path="/oai" docBase="/dspace/webapps/oai"
>> allowLinking="true"/>
>> <Context path="/jspui" docBase="/dspace/webapps/jspui"
>> allowLinking="true"/>
>> <Context path="/lni" docBase="/dspace/webapps/lni"
>> allowLinking="true"/>
>> <Context path="/solr" docBase="/dspace/webapps/solr"
>> allowLinking="true">
>> </Context>
>>
>> Guess I am dense, but I don't see where this fits:
>> <Context path="/solr" reloadable="true">
>> <Valve className="org.apache.catalina.valves.RemoteAddrValve"
>> allow="111.222.233.*, 123.123.123.123, 127.0.0.1"/>
>> <Parameter name="LocalHostRestrictionFilter.localhost" value=
>> "false" override="false" />
>> </Context>
>>
>>
>>
>> On Fri, May 3, 2013 at 7:01 PM, helix84 <[email protected]> wrote:
>>
>>> You should modify the solr Context element (either in server.xml) or in
>>> the context fragment file. But that's written there - if it's unclear, feel
>>> free to rewrite it for clarity.
>>> On May 4, 2013 12:57 AM, "Mark Ehle" <[email protected]> wrote:
>>>
>>>> Thanks, helix84. I have seen this document before, but under the
>>>> "Bypassing localhost restrictions permanently", do I just add that code
>>>> fragment to the server.xml file? I'm running 3.0 on Ubuntu 12.04.
>>>>
>>>> On Fri, May 3, 2013 at 6:45 PM, helix84 <[email protected]> wrote:
>>>>
>>>>> Hi Mark,
>>>>>
>>>>> I described that here:
>>>>> https://wiki.duraspace.org/display/DSPACE/Solr
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Get 100% visibility into Java/.NET code with AppDynamics Lite
>>>> It's a free troubleshooting tool designed for production
>>>> Get down to code-level detail for bottlenecks, with <2% overhead.
>>>> Download for free and get started troubleshooting in minutes.
>>>> http://p.sf.net/sfu/appdyn_d2d_ap2
>>>> _______________________________________________
>>>> DSpace-tech mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>> List Etiquette:
>>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>>
>>>
>>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette