Windows2000 apache2.0.48 resin2.1.6
1, install JDK1.4
The latest version of JDK is JDK1.4.2, can be downloaded on http://java.sun.com. Add Windows2000 Environment Variables Java_Home: Right-click My Computer, Select Property à Advanced à Environment Variable à System Variable à New, Variable Name Java_Home, the variable value is a JDK installation directory.
2, install resin 2.1.6
Search RESIN on http://e.pku.edu.cn, you can search for RESIN2.1.6 compressed package or higher RESIN, as long as you download resin2.1.6 (Note To download the version under Windows Generally, ZIP or RAR compression package).
Unfaming the compressed package to a folder, the resin2.1.6 under this folder is the RESIN installation directory, of course, can also put the resin2.1.6 folder to the installation directory of RESIN. There are three files httpd.exe, resin.dll, setup.exe under the installation directory / bin. You can use the installation directory / httpd.exe -install command to register with Windows services.
Run the installation directory / httpd.exe or start the resin web server in the Windows2000 service after the registration service. Typing in the address bar of the IE browser: http: // localhost: 8080 / index.xtp, the Enter will appear RESIN's default home page (actually RESIN's use document), which means that RESIN has been installed successfully. Select Reference Guide, click on Windows Apache under Installation: Getting Started, you can see that this is the tutorial of Apache Resin under Windows. The English can be used to see this tutorial.
3, install apache 2.0.48.
Download Apache_2.0.48-win32-x86-no_ssl.msi from http://www.apache.org, you can directly double-click the running installation under Windows 2000. If you are in Win98, you need to install an upgrade software to execute .msi installation file .
The installation process is simple. Just follow the prompt step by step, it is recommended to select the Apache to Windows service, or you can use the installation directory /bin/apache.exe -k install command to use the Apache as a Windows service after the installation directory /bin/apache.exe -k install command. You can test after the installation is complete.
Run Apache Install Directory /Apache/bin/apache.exe or start apache2 in the Windows service after the registration service. Enter: http:// localhost in the IE browser, will see the prompt Apache installed successfully installed page.
Now, according to the tutorial of Apache Resin in the previous step, open the Apache installation directory /Apache/conf/httpd.conf, plus the following contents in the end of the file:
LoadModule caucho_module d: /career/resin-2.1.6/libexec/apache-2.0/mod_caucho.dll
# Note, AddModule Not NEeded for Apache 2.0
# Addmodule MOD_CAUCHO.C
Cauchoconfigfile d: /career/resin-2.1.6/conf/RESIN.CONF
SetHandler Caucho-Status
Location>
Ifmodule>
Don't forget that if you are using apache2, you must annotate the third line to comment, ## is an comment, search for MOD_CAUCHO.DLL and RESIN.CONF in your RESIN.Conf replace the two paths above.
4, finally restart Apache and Resin, pay attention to start Apache first. Enter http://localhost/index.xtp in IE, then you will find that the displayed page is the default home page of Resin, but because the path is not correct, the picture cannot be displayed.
5. So far, Windows2000 Apache Resin is configured. In fact, as long as it is mentioned above, you can complete the configuration.