Also try replacing the wildcard with a single IP.

Are you sure that the dspace server sees your IP as 192.168.1.x? I.e. are
you on the same subnet as the dspace server? If you're accessing from home,
you need to use your public IP because the private IP has to go through NAT.
On May 4, 2013 1:24 AM, "helix84" <heli...@centrum.sk> wrote:

> That looks correct. I assume you also restarted Tomcat. While changes to
> context fragments would be detected automatically, changes to server.xml
> aren't.
>
> If it still doesn't work, I don't know why. What about commenting out the
> solr Context element in server.xml and putting it into a context fragment
> instead, just for the sake of experiment?
> On May 4, 2013 1:17 AM, "Mark Ehle" <marke...@gmail.com> wrote:
>
>> 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 <heli...@centrum.sk> wrote:
>>
>>> Just insert Valve and Parameter into the last Context (that has solr
>>> path)
>>> On May 4, 2013 1:07 AM, "Mark Ehle" <marke...@gmail.com> 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 <heli...@centrum.sk> 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" <marke...@gmail.com> 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 <heli...@centrum.sk> 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
>>>>>> DSpace-tech@lists.sourceforge.net
>>>>>> 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to