The software version I used is as follows:
IIS6.02003 built-in)
Mysql-noinstall-5.1.35-win32.zip
Php-5.2.10-Win32.zip
Apache-tomcat-6.0.20.zip
Isapi_redirector2.dll (JSP file used to connect to IIS)
Mysql-connector-java-5.1.7-bin.jar (jSP file connecting to mysql)
I use a ZIP decompressed version without installation.
1. Install MYSql:
1.decompress mysql-noinstall-5.1.35-win32.zip to disk D: \ mysql-5.1.35-win32
Create a my. ini file in D: \ mysql-5.1.35-win32 with the following content:
3. place the mysql-connector-java-5.1.7-bin.jar (the class package connecting to mysql) in any location, I put it in the D: \ tomcat-6.0.20 \ mysql-conn \ directory, and then configure classpath based on where you put it.
4. Open the command line Prompt window -- enter the Tomcat installation directory -- enter the bin directory -- Enter: service. bat install and press Enter.
5. I saved isapi_redirector2.dll to the directory in the D: \ tomcat-6.0.20 \ connect-to-iis \ folder ).
6. Create a workers2.properties file under the conf directory under the Tomcat installation directory, and copy the following section to save it.
7. Create jk2.properties in "D: \ tomcat-6.0.20 \ conf" with the content request. tomcatAuthentication = false
8. Create an iis. reg file with the following content (Note: Change the involved Tomcat path to your Tomcat path ):
Windows Registry Editor Version 5.00
9. right-click on the default website and choose "properties". In the displayed dialog box, select "ISAPI filter" and click "add". Set the Filter Name to jakarta, enter the absolute path of your isapi_redirector2.dll In the executable file." Click OK to close the property page. Right-click "default website" and choose "New"> "virtual directory". Enter jakarta as the alias. Next, select the directory where your isapi_redirector2.dll is stored as the path. D: \ tomcat-6.0.20 \ connect-to-iis.
10. For windows2003 iis6, you also need to add web service extensions. Select isapi_redirector2.dll as the file and set it to allow.
11. configure server. xml to set the root directory of the tomcat jsp environment.
After the preceding settings, the ASP + PHP + JSP powerful web environment is successfully configured.
- Analysis on CGI supported by jsp http Server
- Use JSP pages to generate PDF reports
- Step for customizing JSP labels
- Detailed test of JSP containers
- Describes the following features of jsp http Server