Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does Apache and Tomcat work together?

Apache Tomcat
0
0 Posted

How does Apache and Tomcat work together?

0
0

We run Apache as a front-end for Tomcat, using mod_jk. In this configuration, Apache sees all Web requests. It processes some itself, and hands others off to Tomcat for processing. By default, we configure Apache to pass the following URL patterns to Tomcat: *.do *.jsp /servlet/* /servlets/* If you would like Tomcat to handle other URL patterns, you need to request us to set that up for you. For example, if you have a servlet-based online store at http://www.yourdomain.com/store, then you probably want Apache to send all URL’s of the form /store/* to Tomcat. Note that the default setup will work fine if all URL’s in your store end in *.do or *.jsp .

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123