HOW TO INTEGRATE TOMACAT AND APACHE
2006-06-27 17:52
239 查看
Tomcat is an important project in jakarta, which is choose the best innovative java production through public appraisal in the JavaWorld magzine in 2001. At the time it is the serlet and jsp container recommended by the SUN company.
Apache roots from the NCSAhttpd server. After some time modification, it has been one of the most popular Web Servers. The name of Apache come from the pronunciation of "apatchy server", which means an server is full of bugs. Because it is free software, there are lots people develop the new function, new speciality, and perfect it.
The mainly characteristics of Apache:
(1) run on all computer platforms
(2) sustain the newest HTTP 1.1 protocol
(3) easy and efficient configuration base on file
(4) sustain the general gateway interface CGI
(5) sustain the virtual machine
(6) sustain the authentication of HTTP
(7) integrate the Perl script program language
(8) integrative agent server
(9) SSI
(10) SSL
(11) Sustain Java Servlets
We know that the Tomcat is good at processing the dynamic web pages; oppositely the Apache is well in static web pages.
Now I want to do is integrate their strength
The follows is my step:
1. Install the JDK ( I install the JDK with version of 1.5.0.4
2. Set the environment variable (JAVA_HOME, CLASS_HOME, PATH, you can write a .java file to test whether you have installed successfully)
3. Install the tomcat 5.0 (test the port http://localhost:8080, you can test a *.jsp file which is in the ROOT document)
4. Install the Apache (my apache version is 2.0, test the http://localhost then you can find whether is ok)
5. Integration (a. put the mod.so file in the module document, b. edit the workers.properties in the tomcat/conf c. edit the apahche/conf/httpd.conf
6. test whether ok~!
The related operation u can find in some webs, which introduce particular. You can easily get what you need.
Related resource:
http://www.cjsdn.net/post/view?bid=11&id=172565&sty=1&tpg=1&age=0
Apache roots from the NCSAhttpd server. After some time modification, it has been one of the most popular Web Servers. The name of Apache come from the pronunciation of "apatchy server", which means an server is full of bugs. Because it is free software, there are lots people develop the new function, new speciality, and perfect it.
The mainly characteristics of Apache:
(1) run on all computer platforms
(2) sustain the newest HTTP 1.1 protocol
(3) easy and efficient configuration base on file
(4) sustain the general gateway interface CGI
(5) sustain the virtual machine
(6) sustain the authentication of HTTP
(7) integrate the Perl script program language
(8) integrative agent server
(9) SSI
(10) SSL
(11) Sustain Java Servlets
We know that the Tomcat is good at processing the dynamic web pages; oppositely the Apache is well in static web pages.
Now I want to do is integrate their strength
The follows is my step:
1. Install the JDK ( I install the JDK with version of 1.5.0.4
2. Set the environment variable (JAVA_HOME, CLASS_HOME, PATH, you can write a .java file to test whether you have installed successfully)
3. Install the tomcat 5.0 (test the port http://localhost:8080, you can test a *.jsp file which is in the ROOT document)
4. Install the Apache (my apache version is 2.0, test the http://localhost then you can find whether is ok)
5. Integration (a. put the mod.so file in the module document, b. edit the workers.properties in the tomcat/conf c. edit the apahche/conf/httpd.conf
6. test whether ok~!
The related operation u can find in some webs, which introduce particular. You can easily get what you need.
Related resource:
http://www.cjsdn.net/post/view?bid=11&id=172565&sty=1&tpg=1&age=0
相关文章推荐
- how to install apache, PHP and MySQL on Linux
- How-to: Enable User Authentication and Authorization in Apache HBase
- how to install apache, PHP and MySQL on Linux 2
- How to Integrate angular 2 with php and mysql db
- How to install and configure Apache, PHP, MySql and phpMyadmin on ubuntu
- How to Install And Configure Apache In Ubuntu
- How to Configure Tomcat/JBoss and Apache HTTPD for Load Balancing and Failover
- How to get JBoss and Apache to work together
- How To Configure Logging And Log Rotation In Apache On An Ubuntu VPS
- How to configure Apache and Tomcat to realize the load balancing?
- How to Install PHP 7 with Apache and MariaDB on CentOS 7/Debian 8
- how to install apache, PHP and MySQL on Linux 3
- How to install and configure Apache, PHP, MySql and phpMyadmin on ubuntu
- How to Setup Apache With FastCGI And Ruby Bindings
- How to Install LAMP (Apache 2.4, MySQL 5.6, and PHP 5.4) on CentOS/RHEL 7
- How to integrate Struts2 into Web Application and small sample//TODO Verify!!!
- How to setup Apache and mod_python and django
- How to install LAMP (Apache, PHP and MySQL in Linux) using Yum
- How To Setup a Rails 4 App With Apache and Passenger on CentOS 6
- How to install Apache, PHP 7.1 and MySQL on CentOS 7.3 (LAMP)