I. Introduction to the SOFTWARE
This article mainly describes how to support JSP and servlet environment with iis+tomcat3.1. Under normal circumstances, IIS does not support servlet and JSP environments. By using an IIS to Tomcat redirection plug-in (plugin), we use IIS to send all servlet and JSP requests to Tomcat execution to implement the servlet and JSP environment.
Two. Document definition
"Tomcat_home"--Suppose you install the Tomcat directory for you.
Three. Software Environment
Microsoft Windows NT 4.0 SP6a
IIS 4.0
Tomcat 3.1
Four. Get the software you need
Microsoft Windows NT Server 4.0, please prepare yourself.
Microsoft Windows NT Option Pack (IIS installed), please prepare yourself.
Tomcat Plug-in for IIS server
Tomcat 3.1
Five. Installation
(1) Please refer to the previous article to install Tomcat 3.1 for win.
(2) Verify that the Tomcat plug-in that configures IIS is installed after the first step is successful
In the registry, add a new key value:
"Hkey_local_macine\software\apache SOFTWARE foundation\jakarta Isapi redirector\1.0"
Add a string named "Extension_uri" with the value "/jakarta/isapi_redirect.dll"
Add a string named "Log_filei" with the value "full name of the log file L" (for example, C:\tomcat\IISisapi.log)
Add a string named "Log_level", which is the "error level you want to record" (can be one of the following values: Debug,inform,error,emerg)
Add a string named "Worker_file" with the value "Tomcat_home\conf\workers.properties" (replace the tomcat_home here with the full name of the path you installed Tomcat, for example, C:\tomcat)
Add a string named "Worker_mount_file" with the value "Tomcat_home\conf\uriworkermap.properties" (replace the tomcat_home here with the full name of the path where you installed Tomcat. For example C:\tomcat)
Enter the IIS management console, select the Web site-> Right-click-> Select Properties->isapi filter Add "Isapi_redirect.dll" to the filter list.
Restart IIS to confirm that our newly added filter in the ISAPI filter has an up green arrow.
(1) plus JSP Web reference directory (context)
Add a Web reference directory to Tomcat, and take a look at the local article
Join a Web Reference directory to the IIS ISAPI redirection plug-in
Open the Tomcat_home\conf\worker.properties file and add the following configuration line:
/"Web reference Directory"/*=AJP12 (for example,/JSP/*=AJP12).
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.