Thanks Christopher!
Sent from my iPhone
> On Apr 4, 2024, at 10:20 PM, Christopher Schultz
> wrote:
>
> Eric,
>
>> On 4/4/24 13:43, Eric Fetzer wrote:
>> Hi All,
>> When I originally set up my tomcat instance, I added the following to allow
>> manager access under /opt/tomcat/webapps/manage
Eric,
On 4/4/24 13:43, Eric Fetzer 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:
That worked wonderfully. Now I'm trying to add another IP range by
changing it to:
This is
LOL, I'm decent at regex Robert. I got the \d+ from what ships in the
context.xml:
127\.\d+\.\d+\.\d+
It looks like an attempt at saying localhost can get in as long as the
localhost IP starts with 127. I assumed it wasn't actually regex but some
"tomcat language"... Thanks for the education!
Sorry folks (Robert), but upon further testing, it looks like port 8080
isn't open on these IP's. I was mistaking the attempt to connect from my
curl command with a response. I withdrawal my question for now. I'll
reply to this thread if it doesn't work once the hole in the firewall is
carved pr
You need to read up on "regular expressions" (or "regex").
In a regular expression, a lowercase "d" is a single decimal digit. A "+"
means one or more of them. A period means ANY character (which is why you
have to escape it when you mean "period"). A backward slash means to treat
the character im
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 wrote:
> It looks like you need to escape your periods, like you did for 127\.
> etc..
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 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
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:
That worked wonderfully. Now I'm trying to add another IP range by
changing it to:
This is not working. I tried to use 2\.4\.6\.\d+ as
Michael Trabjerg wrote:
Hi André
This worked
The other used to work for Tomcat 6.
Yes, but as I remember it was changed because it was ambiguous : a comma can be part of a
regular expression, so it was not clear how a comma-separated list should be interpreted.
There is probably a more com
Hi André
This worked
The other used to work for Tomcat 6.
Thanks a lot.
Br
Michael Trabjerg
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: 13. december 2012 16:10
To: Tomcat Users List
Subject: Re: org.apache.catalina.valves.RemoteAddrValve on Tomcat 7.0.27
Michael Trabjerg wrote:
Hi
Info: Tomcat 7.0.27 x64 running on Windows 2008 R2
Tomcat 6 allowed me to restrict access to Tomcat for more than one IP
address, but it does not seem to work on Tomcat 7.0.27.
Usually this worked:
Now I can only make to following work
I belie
Hi
Info: Tomcat 7.0.27 x64 running on Windows 2008 R2
Tomcat 6 allowed me to restrict access to Tomcat for more than one IP
address, but it does not seem to work on Tomcat 7.0.27.
Usually this worked:
Now I can only make to following work
Please help
Thanks
Br.
Mich
12 matches
Mail list logo