Thanks for the quick response Robert!  So I tried escaping the periods and
putting the \d+ for the * but it didn't work.  Is the \d+ incorrect in
substitution for *?

On Thu, Apr 4, 2024 at 11:53 AM Robert Egan <robert.e...@vsolvit.com> wrote:

> It looks like you need to escape your periods, like you did for 127\.
> etc...
> 1\.3\.5
> Robert Egan
>
> On Thu, Apr 4, 2024 at 1:44 PM Eric Fetzer <eric.fet...@gmail.com> wrote:
>
> > Hi All,
> >
> > When I originally set up my tomcat instance, I added the following to
> allow
> > manager access under /opt/tomcat/webapps/manager/META-INF/context.xml:
> >
> > <Valve className="org.apache.catalina.valves.RemoteAddrValve"
> >          allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1|1.3.5.*" />
> >
> > That worked wonderfully.  Now I'm trying to add another IP range by
> > changing it to:
> >
> > <Valve className="org.apache.catalina.valves.RemoteAddrValve"
> >          allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1|1.3.5.*|2.4.6.*"
> />
> >
> > This is not working.  I tried to use 2\.4\.6\.\d+ as well but that didn't
> > work either.  I've verified I can get to port 8080 from the IP locations.
> > Any idea what I'm doing wrong or do you have a means to troubleshoot
> this?
> >
> > Thanks,
> > Eric
> >
>

Reply via email to