Usage difference between Apache and Apache Tomcat
As Tomcat is a widely used java web server, and Apache is also a web server, what's the different between them in real project usage?
After some research, I got a simple idea like,
Apache Tomcat <=> For java fans
Apache <=> More general web server, eg. PHP:XAMPP,LAMP
The differences between Apache and Apache Tomcat are:
Apache:
Apache Tomcat:
Apache is more for a static web site with basic functions. Apache tomcat is container above Apache which can used with Java backend project.
They can be used separately or run together.
Apache - It's a web server, which helps in serving static content mostly. But, it can also handle dynamic requests for pages coded in languages like PHP, Perl and Ruby.
Tomcat - It's an application server, which helps in deploying dynamic content using Java.
Apache Tomcat - Here, both are used in conjunction where Apache serves static content, and forwarding the requests for dynamic content to Tomcat.
Content refers to web pages.
链接地址: http://www.djcxy.com/p/96450.html