On Sat, May 04, 2013 at 01:28:12AM +0200, helix84 wrote:
> 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" <[email protected]> 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" <[email protected]> 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.

For some unfathomable reason, RemoteAddrValve takes a regular
expression, not a list of wildcard matches.  You might try something
like "allow='192\.168\.1\.\d+|127\.0\.0\.1'".

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Machines should not be friendly.  Machines should be obedient.

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
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

Reply via email to