Re: Fwd: tomcat 9.50 - rewrite rule question

2022-03-21 Thread Felix Schumacher
Am 21.03.22 um 06:39 schrieb rupali singh: Hi Felix, location of context.xml file is cat context.xml| grep RewriteValve pwd /opt/tomcat/apache-tomcat-9.0.54/instance/conf That context.xml is thought to be a default template for all installed webapps. It will work, but remember,

RemoteAddrFilter (org.apache.catalina.filters)

2022-03-21 Thread Scott,Tim
Hi all, I’ve been trying to get this to work for a bit without any luck. What I’ve arrived at, in my main Tomcat web.xml, is: http://xmlns.jcp.org/xml/ns/javaee xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee

Re: RemoteAddrFilter (org.apache.catalina.filters)

2022-03-21 Thread Mark Thomas
On 21/03/2022 17:51, Scott,Tim wrote: Hi all, I’ve been trying to get this to work for a bit without any luck. What I’ve arrived at, in my main Tomcat web.xml, is: Everything in conf/web.xml effectively gets copied to each individual web application's web.xml. If it should work – can

Re: [External] Re: RemoteAddrFilter (org.apache.catalina.filters)

2022-03-21 Thread Scott,Tim
Hi Chris and Mark, As Mark spotted, I'm editing the conf/web.xml file. If I move this to the application's web.xml, is there any way it can be overridden by the Tomcat configuration? Ideally, I'd like it to be somehow configurable by the person deploying it. Alternatively, can it be configured

Re: [External] Re: RemoteAddrFilter (org.apache.catalina.filters)

2022-03-21 Thread Christopher Schultz
Tim, On 3/21/22 16:47, Scott,Tim wrote: Hi Chris and Mark, As Mark spotted, I'm editing the conf/web.xml file. If I move this to the application's web.xml, is there any way it can be overridden by the Tomcat configuration? Ideally, I'd like it to be somehow configurable by the person

Re: [External] Re: RemoteAddrFilter (org.apache.catalina.filters)

2022-03-21 Thread Mark Thomas
On 21/03/2022 20:47, Scott,Tim wrote: Hi Chris and Mark, As Mark spotted, I'm editing the conf/web.xml file. If I move this to the application's web.xml, is there any way it can be overridden by the Tomcat configuration? Ideally, I'd like it to be somehow configurable by the person deploying

Re: Question about Tomcat 8.5.77 and CVE-2022-0778

2022-03-21 Thread Mark Thomas
On 21/03/2022 16:26, Matthew Mellon wrote: Tomcat 8.5.77 was published on March 17. The Windows distribution contains tcnative-1.dll, version 1.2.31. Tcnative-1.dll appears to be statically linked to OpenSSL, and was built in 2021, prior to the fix for CVE-2022-0778 being published by

Question about Tomcat 8.5.77 and CVE-2022-0778

2022-03-21 Thread Matthew Mellon
Tomcat 8.5.77 was published on March 17. The Windows distribution contains tcnative-1.dll, version 1.2.31. Tcnative-1.dll appears to be statically linked to OpenSSL, and was built in 2021, prior to the fix for CVE-2022-0778 being published by OpenSSL. The tcnative source tree was updated to

Re: RemoteAddrFilter (org.apache.catalina.filters)

2022-03-21 Thread Christopher Schultz
Tim, On 3/21/22 13:51, Scott,Tim wrote: Hi all, I’ve been trying to get this to work for a bit without any luck. What I’ve arrived at, in my main Tomcat web.xml, is: http://xmlns.jcp.org/xml/ns/javaee