Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-19 Thread Bhavesh Mistry
Hi Mark, Thanks for your quick reply. According to the spec, the Request line three line: http method path and version. Basically, what I wanted to do to is if the HOST header does not match the requested server name in the URL then return 404 04 403. Can you please help me how I can do this?

Re: Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-19 Thread Mark Thomas
19 Aug 2023 19:46:56 Bhavesh Mistry : Hi, Tomcat Dev team and Users, I am trying to block the request and give 404 bad requests or 403 when the HOST header does not match the requested server name.  My goal is to block whenever there is a mismatch in the host header and URL server name.

Ответить: tomcat timeouts on startup and on context deployment

2023-08-19 Thread Усманов Азат Анварович
Hello everyone! I use tomcat at $work, both on windows with Eclipse and on Linux without Eclipse. I believe that those timeouts the OP is talking about,are used for tomcat itself, not individual apps inside Tomcat. When such timeouts are reached Eclipse typically just ends tomcat java

Tomcat 9 Connector config allowHostHeaderMismatch not working as expected

2023-08-19 Thread Bhavesh Mistry
Hi, Tomcat Dev team and Users, I am trying to block the request and give 404 bad requests or 403 when the HOST header does not match the requested server name. My goal is to block whenever there is a mismatch in the host header and URL server name. I would appreciate your help. curl - -k

Re: Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-19 Thread Kaushal Shriyan
On Thu, Aug 10, 2023 at 11:29 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Kaushal, > > On 8/7/23 22:23, Kaushal Shriyan wrote: > > Hi, > > > > I have gone through > https://tomcat.apache.org/tomcat-10.0-doc/ssl-howto.html. > > Is there a way to enable two way SSL (mutual) in

Re: Enable two way SSL in Apache Tomcat 10 Version 10.0.27

2023-08-19 Thread Kaushal Shriyan
Hi, I am attaching both server.xml for one way SSL and Two Way SSL One way SSL /opt/tomcat10/conf/server.xml -> tomcat10serverworkingonewaytls.xml (working) Two way SSL /opt/tomcat10/conf/server.xml -> tomcat10serverworkingtwowaytls.xml (Not working) Please comment. Thanks in advance. Best

Re: tomcat timeouts on startup and on context deployment

2023-08-19 Thread Maxim Solodovnik
On Sat, 19 Aug 2023 at 14:58, Ivano Luberti wrote: > > Christopher, Maxim > > To clarify , I have never hit a timeout in production , but it happened > in Eclipse and since this timeout is configurable in Eclipse Tomcat > Launch configuration I have guessed such a timeout is a tomcat property >

Re: tomcat timeouts on startup and on context deployment

2023-08-19 Thread Ivano Luberti
Christopher, Maxim To clarify , I have never hit a timeout in production , but it happened in Eclipse and since this timeout is configurable in Eclipse Tomcat Launch configuration I have guessed such a timeout is a tomcat property hidden somewhere. AFAIK the list server doesn't allow