Unpackwar

2023-03-02 Thread Devatha Naga Puneeth
Hi, I checked the documentation and only understood that if unpackwar enabled then contents of the application will be extracted in the appBase. What is the use of UnpackWar to false ? When to prefer true and false ?

Sending access logs to the syslog server

2023-02-02 Thread Devatha Naga Puneeth
Apache Tomcat Version : 9.0.65 How to send the access logs of tomcat to the syslog server through log4j.xml ? I have a root logger which is pointing to a syslog appender. But I was not able to see the access logs in the syslog server and was not able to see the logs related to server startup.

Is it possible to add hsts header over http response ?

2023-01-11 Thread Devatha Naga Puneeth
Apache Tomcat Version : 9.0.65 sts org.apache.catalina.filters.HttpHeaderSecurityFilter true hstsEnabledForHttp true hstsMaxAgeSeconds 31536000 hstsIncludeSubDomains true sts /* Used the above configuration in the conf/web.xml to add

Query

2022-12-31 Thread Devatha Naga Puneeth
How to disable the appending of trailing slash when client requests for the application root context ? Apache Tomcat Version : 9.0.65 I have a sample folder in the webapps. When I access the sample application via http://localhost:8080/sample . Then it is redirecting to