...
There are some other methods available, like using ServletContext.getContextPath()
to get the context name of your web application and locate some resources accordingly, or to define <context-param>
elements in WEB-INF/web.xml
file of your web application and then set the values for them in Tomcat context file (META-INF/context.xml
). See http https://tomcat.apache.org/tomcat-7.0-doc/config/context.html .
How do I configure Tomcat Connectors?
...
In particular, here are a number of locations for Tomcat Connectors:
- Tomcat Connectors Documentation
- Tomcat Connectors FAQ
- Configuring Tomcat Connectors for Apache
- Connectors How To
- AJP Connector in Tomcat 7 9 Configuration Reference
The following excellent article was written by Mladen Turk. He is a Developer and Consultant for JBoss Inc in Europe, where he is responsible for native integration. He is a long time commiter for Jakarta Tomcat Connectors, Apache Httpd and Apache Portable Runtime projects.
- Fronting Tomcat with Apache or IIS - Best Practices
httphttps://people.apache.org/~mturk/docs/article/ftwai.html
John Turner has an excellent page about Using Apache HTTP with Apache Tomcat. Several Over the time several different connectors have been built, and some connector projects have been abandoned (so beware of old documentation).
...
Setting up SSL
Threads from the tomcat-user list
Using VeriSign:
- httphttps://marc.info/?l=tomcat-user&m=106285452711698&w=2
- httphttps://marc.info/?l=tomcat-user&m=107584265122914&w=2
Using OpenSSL:
- httphttps://marc.info/?l=tomcat-user&m=106293430225790&w=2
- httphttps://marc.info/?l=tomcat-user&m=106453566416102&w=2
- httphttps://marc.info/?l=tomcat-user&m=106621232531781&w=2
A description of "what SSL is all about anyway":
HowTo SSL Client Authentication with Fallback to FORM Authentication
How to configure two-way SSL authentication on Tomcat using self-signed certificates for testing/development
...